home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1992-11-18 | 1.6 MB | [ONLN/HLX2] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, Wed Nov 18 07:16:19 1992, modified Wed Nov 18 10:47:39 1992, creator 'HLX2', type 'ONLN', 1639981 bytes "TN-Graphics" , at 0x1906ad 41070 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
100%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [ONLN] |
macFileCreator | [HLX2] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0b 54 4e 2d 47 72 61 | 70 68 69 63 73 00 00 00 |..TN-Gra|phics...|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 4f 4e 4c 4e 48 4c 58 | 32 01 00 00 00 00 00 00 |.ONLNHLX|2.......|
|00000050| 00 00 00 00 19 06 2d 00 | 00 a0 6e a7 2f e4 93 a7 |......-.|..n./...|
|00000060| 30 16 1b 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |0.......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 a6 03 00 00 |........|........|
|00000080| 33 32 2d 42 69 74 20 51 | 75 69 63 6b 44 72 61 77 |32-Bit Q|uickDraw|
|00000090| 3a 20 20 56 65 72 73 69 | 6f 6e 20 31 2e 32 20 46 |: Versi|on 1.2 F|
|000000a0| 65 61 74 75 72 65 73 0d | 49 6d 61 67 69 6e 67 09 |eatures.|Imaging.|
|000000b0| 4d 2e 49 4d 2e 33 32 42 | 69 74 51 44 0d 57 72 69 |M.IM.32B|itQD.Wri|
|000000c0| 74 74 65 6e 20 62 79 3a | 09 47 75 69 6c 6c 65 72 |tten by:|.Guiller|
|000000d0| 6d 6f 20 4f 72 74 69 7a | 09 41 70 72 69 6c 20 31 |mo Ortiz|.April 1|
|000000e0| 39 39 30 0d 54 68 69 73 | 20 54 65 63 68 6e 69 63 |990.This| Technic|
|000000f0| 61 6c 20 4e 6f 74 65 20 | 64 65 73 63 72 69 62 65 |al Note |describe|
|00000100| 73 20 74 68 65 20 63 68 | 61 6e 67 65 73 20 61 6e |s the ch|anges an|
|00000110| 64 20 65 6e 68 61 6e 63 | 65 6d 65 6e 74 73 20 74 |d enhanc|ements t|
|00000120| 6f 20 33 32 2d 42 69 74 | 20 51 75 69 63 6b 44 72 |o 32-Bit| QuickDr|
|00000130| 61 77 20 66 72 6f 6d 20 | 76 65 72 73 69 6f 6e 20 |aw from |version |
|00000140| 31 2e 30 20 28 61 73 20 | 73 68 69 70 70 65 64 20 |1.0 (as |shipped |
|00000150| 6f 6e 20 74 68 65 20 6f | 72 69 67 69 6e 61 6c 20 |on the o|riginal |
|00000160| 43 6f 6c 6f 72 20 44 69 | 73 6b 29 20 74 6f 20 76 |Color Di|sk) to v|
|00000170| 65 72 73 69 6f 6e 20 31 | 2e 32 2c 20 77 68 69 63 |ersion 1|.2, whic|
|00000180| 68 20 73 68 69 70 73 20 | 77 69 74 68 20 53 79 73 |h ships |with Sys|
|00000190| 74 65 6d 20 53 6f 66 74 | 77 61 72 65 20 36 2e 30 |tem Soft|ware 6.0|
|000001a0| 2e 35 20 61 6e 64 20 6c | 61 74 65 72 2e 20 20 54 |.5 and l|ater. T|
|000001b0| 68 69 73 20 4e 6f 74 65 | 20 61 73 73 75 6d 65 73 |his Note| assumes|
|000001c0| 20 66 61 6d 69 6c 69 61 | 72 69 74 79 20 77 69 74 | familia|rity wit|
|000001d0| 68 20 49 6e 73 69 64 65 | 20 4d 61 63 69 6e 74 6f |h Inside| Macinto|
|000001e0| 73 68 2c 20 56 6f 6c 75 | 6d 65 20 56 2c 20 43 6f |sh, Volu|me V, Co|
|000001f0| 6c 6f 72 20 51 75 69 63 | 6b 44 72 61 77 2c 20 61 |lor Quic|kDraw, a|
|00000200| 6e 64 20 33 32 2d 42 69 | 74 20 51 75 69 63 6b 44 |nd 32-Bi|t QuickD|
|00000210| 72 61 77 20 72 65 6c 65 | 61 73 65 20 6e 6f 74 65 |raw rele|ase note|
|00000220| 73 2e 0d 33 32 2d 42 69 | 74 20 51 75 69 63 6b 44 |s..32-Bi|t QuickD|
|00000230| 72 61 77 0d 56 65 72 73 | 69 6f 6e 20 31 2e 30 20 |raw.Vers|ion 1.0 |
|00000240| 6f 66 20 33 32 2d 42 69 | 74 20 51 75 69 63 6b 44 |of 32-Bi|t QuickD|
|00000250| 72 61 77 20 73 68 69 70 | 70 65 64 20 69 6e 20 4d |raw ship|ped in M|
|00000260| 61 79 20 31 39 38 39 20 | 69 6e 20 72 65 73 70 6f |ay 1989 |in respo|
|00000270| 6e 73 65 20 74 6f 20 74 | 68 65 20 67 72 6f 77 69 |nse to t|he growi|
|00000280| 6e 67 20 6e 65 65 64 20 | 66 6f 72 20 43 6f 6c 6f |ng need |for Colo|
|00000290| 72 20 51 75 69 63 6b 44 | 72 61 77 20 73 75 70 70 |r QuickD|raw supp|
|000002a0| 6f 72 74 20 66 6f 72 20 | 64 69 72 65 63 74 20 63 |ort for |direct c|
|000002b0| 6f 6c 6f 72 20 64 65 76 | 69 63 65 73 20 61 6e 64 |olor dev|ices and|
|000002c0| 20 70 69 63 74 75 72 65 | 73 20 28 50 49 43 54 32 | picture|s (PICT2|
|000002d0| 29 20 61 6e 64 20 76 69 | 64 65 6f 20 62 6f 61 72 |) and vi|deo boar|
|000002e0| 64 73 20 66 6f 72 20 6c | 61 72 67 65 2d 73 63 72 |ds for l|arge-scr|
|000002f0| 65 65 6e 20 6d 6f 6e 69 | 74 6f 72 73 20 77 68 69 |een moni|tors whi|
|00000300| 63 68 20 72 65 71 75 69 | 72 65 20 33 32 2d 62 69 |ch requi|re 32-bi|
|00000310| 74 20 61 64 64 72 65 73 | 73 69 6e 67 20 66 6f 72 |t addres|sing for|
|00000320| 20 62 6c 61 63 6b 20 61 | 6e 64 20 77 68 69 74 65 | black a|nd white|
|00000330| 20 6f 70 65 72 61 74 69 | 6f 6e 2e 20 20 54 68 69 | operati|on. Thi|
|00000340| 73 20 6f 72 69 67 69 6e | 61 6c 20 76 65 72 73 69 |s origin|al versi|
|00000350| 6f 6e 20 6f 66 20 33 32 | 2d 42 69 74 20 51 75 69 |on of 32|-Bit Qui|
|00000360| 63 6b 44 72 61 77 20 77 | 61 73 20 61 20 73 65 70 |ckDraw w|as a sep|
|00000370| 61 72 61 74 65 20 66 69 | 6c 65 20 74 68 61 74 20 |arate fi|le that |
|00000380| 68 61 64 20 74 6f 20 62 | 65 20 63 6f 70 69 65 64 |had to b|e copied|
|00000390| 20 6d 61 6e 75 61 6c 6c | 79 20 69 6e 74 6f 20 74 | manuall|y into t|
|000003a0| 68 65 20 53 79 73 74 65 | 6d 20 46 6f 6c 64 65 72 |he Syste|m Folder|
|000003b0| 2e 20 20 57 69 74 68 20 | 74 68 65 20 69 6e 74 72 |. With |the intr|
|000003c0| 6f 64 75 63 74 69 6f 6e | 20 6f 66 20 74 68 65 20 |oduction| of the |
|000003d0| 4d 61 63 69 6e 74 6f 73 | 68 20 49 49 63 69 2c 20 |Macintos|h IIci, |
|000003e0| 41 70 70 6c 65 20 70 75 | 74 20 33 32 2d 42 69 74 |Apple pu|t 32-Bit|
|000003f0| 20 51 75 69 63 6b 44 72 | 61 77 20 69 6e 74 6f 20 | QuickDr|aw into |
|00000400| 52 4f 4d 2e 20 20 4e 6f | 77 20 53 79 73 74 65 6d |ROM. No|w System|
|00000410| 20 53 6f 66 74 77 61 72 | 65 20 36 2e 30 2e 35 20 | Softwar|e 6.0.5 |
|00000420| 61 6e 64 20 6c 61 74 65 | 72 20 6f 66 66 65 72 20 |and late|r offer |
|00000430| 33 32 2d 42 69 74 20 51 | 75 69 63 6b 44 72 61 77 |32-Bit Q|uickDraw|
|00000440| 20 61 73 20 61 6e 20 69 | 6e 74 65 67 72 61 6c 20 | as an i|ntegral |
|00000450| 70 61 72 74 20 6f 66 20 | 74 68 65 20 53 79 73 74 |part of |the Syst|
|00000460| 65 6d 20 53 6f 66 74 77 | 61 72 65 20 77 68 69 63 |em Softw|are whic|
|00000470| 68 20 63 61 6e 20 62 65 | 20 69 6e 73 74 61 6c 6c |h can be| install|
|00000480| 65 64 20 62 79 20 74 68 | 65 20 73 74 61 6e 64 61 |ed by th|e standa|
|00000490| 72 64 20 49 6e 73 74 61 | 6c 6c 65 72 20 28 61 6c |rd Insta|ller (al|
|000004a0| 74 68 6f 75 67 68 20 74 | 68 65 20 66 69 6c 65 20 |though t|he file |
|000004b0| 69 73 20 73 74 69 6c 6c | 20 73 65 70 61 72 61 74 |is still| separat|
|000004c0| 65 29 2e 0d 54 68 69 73 | 20 4e 6f 74 65 20 64 65 |e)..This| Note de|
|000004d0| 73 63 72 69 62 65 73 20 | 74 68 65 20 63 68 61 6e |scribes |the chan|
|000004e0| 67 65 73 20 61 6e 64 20 | 65 6e 68 61 6e 63 65 6d |ges and |enhancem|
|000004f0| 65 6e 74 73 20 69 6e 20 | 76 65 72 73 69 6f 6e 20 |ents in |version |
|00000500| 31 2e 32 20 6f 66 20 33 | 32 2d 42 69 74 20 51 75 |1.2 of 3|2-Bit Qu|
|00000510| 69 63 6b 44 72 61 77 20 | 66 72 6f 6d 20 76 65 72 |ickDraw |from ver|
|00000520| 73 69 6f 6e 20 31 2e 30 | 2e 20 20 42 65 67 69 6e |sion 1.0|. Begin|
|00000530| 6e 69 6e 67 20 77 69 74 | 68 20 76 65 72 73 69 6f |ning wit|h versio|
|00000540| 6e 20 31 2e 32 2c 20 51 | 75 69 63 6b 44 72 61 77 |n 1.2, Q|uickDraw|
|00000550| 20 66 75 6e 63 74 69 6f | 6e 61 6c 69 74 79 20 69 | functio|nality i|
|00000560| 73 20 69 64 65 6e 74 69 | 63 61 6c 20 6f 6e 20 61 |s identi|cal on a|
|00000570| 6c 6c 20 43 6f 6c 6f 72 | 20 51 75 69 63 6b 44 72 |ll Color| QuickDr|
|00000580| 61 77 20 6d 61 63 68 69 | 6e 65 73 2c 20 69 6e 63 |aw machi|nes, inc|
|00000590| 6c 75 64 69 6e 67 20 61 | 6c 6c 20 74 68 65 20 70 |luding a|ll the p|
|000005a0| 65 72 66 6f 72 6d 61 6e | 63 65 20 69 6d 70 72 6f |erforman|ce impro|
|000005b0| 76 65 6d 65 6e 74 73 20 | 77 68 69 63 68 20 77 65 |vements |which we|
|000005c0| 72 65 20 6f 72 69 67 69 | 6e 61 6c 6c 79 20 6f 6e |re origi|nally on|
|000005d0| 6c 79 20 61 76 61 69 6c | 61 62 6c 65 20 69 6e 20 |ly avail|able in |
|000005e0| 74 68 65 20 49 49 63 69 | 20 52 4f 4d 2e 0d 4e 65 |the IIci| ROM..Ne|
|000005f0| 77 20 46 65 61 74 75 72 | 65 73 20 28 49 6e 20 4e |w Featur|es (In N|
|00000600| 6f 20 50 61 72 74 69 63 | 75 6c 61 72 20 4f 72 64 |o Partic|ular Ord|
|00000610| 65 72 29 0d 50 49 43 54 | 73 20 43 6f 6e 74 61 69 |er).PICT|s Contai|
|00000620| 6e 20 46 6f 6e 74 20 4e | 61 6d 65 20 49 6e 66 6f |n Font N|ame Info|
|00000630| 72 6d 61 74 69 6f 6e 0d | 45 76 65 72 79 20 74 69 |rmation.|Every ti|
|00000640| 6d 65 20 79 6f 75 20 64 | 72 61 77 20 74 65 78 74 |me you d|raw text|
|00000650| 20 69 6e 73 69 64 65 20 | 6f 66 20 61 6e 20 5f 4f | inside |of an _O|
|00000660| 70 65 6e 50 69 63 74 75 | 72 65 20 61 6e 64 20 5f |penPictu|re and _|
|00000670| 43 6c 6f 73 65 50 69 63 | 74 75 72 65 20 70 61 69 |ClosePic|ture pai|
|00000680| 72 2c 20 51 75 69 63 6b | 44 72 61 77 20 73 74 6f |r, Quick|Draw sto|
|00000690| 72 65 73 20 74 68 65 20 | 6e 61 6d 65 20 6f 66 20 |res the |name of |
|000006a0| 74 68 65 20 63 75 72 72 | 65 6e 74 20 66 6f 6e 74 |the curr|ent font|
|000006b0| 20 61 6e 64 20 75 73 65 | 73 20 69 74 20 77 68 65 | and use|s it whe|
|000006c0| 6e 20 70 6c 61 79 69 6e | 67 20 62 61 63 6b 20 74 |n playin|g back t|
|000006d0| 68 65 20 70 69 63 74 75 | 72 65 2e 20 20 54 68 65 |he pictu|re. The|
|000006e0| 20 6f 70 63 6f 64 65 20 | 75 73 65 64 20 74 6f 20 | opcode |used to |
|000006f0| 73 61 76 65 20 74 68 69 | 73 20 69 6e 66 6f 72 6d |save thi|s inform|
|00000700| 61 74 69 6f 6e 20 69 73 | 20 24 30 30 32 43 20 61 |ation is| $002C a|
|00000710| 6e 64 20 69 74 73 20 64 | 61 74 61 20 69 73 20 61 |nd its d|ata is a|
|00000720| 73 20 66 6f 6c 6c 6f 77 | 73 3a 0d 20 20 20 20 50 |s follow|s:. P|
|00000730| 69 63 74 46 6f 6e 74 49 | 6e 66 6f 20 3d 20 52 65 |ictFontI|nfo = Re|
|00000740| 63 6f 72 64 0d 20 20 20 | 20 20 20 20 20 20 20 20 |cord. | |
|00000750| 20 20 20 20 20 20 20 20 | 20 20 6c 65 6e 67 74 68 | | length|
|00000760| 20 20 20 3a 20 49 6e 74 | 65 67 65 72 3b 20 20 20 | : Int|eger; |
|00000770| 20 7b 20 6c 65 6e 67 74 | 68 20 6f 66 20 64 61 74 | { lengt|h of dat|
|00000780| 61 20 69 6e 20 62 79 74 | 65 73 20 7d 0d 20 20 20 |a in byt|es }. |
|00000790| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000007a0| 20 20 66 6f 6e 74 49 44 | 20 20 20 3a 20 49 6e 74 | fontID| : Int|
|000007b0| 65 67 65 72 3b 20 20 20 | 20 7b 20 49 44 20 69 6e |eger; | { ID in|
|000007c0| 20 74 68 65 20 73 6f 75 | 72 63 65 20 73 79 73 74 | the sou|rce syst|
|000007d0| 65 6d 20 7d 0d 20 20 20 | 20 20 20 20 20 20 20 20 |em }. | |
|000007e0| 20 20 20 20 20 20 20 20 | 20 20 66 6f 6e 74 4e 61 | | fontNa|
|000007f0| 6d 65 20 3a 20 53 74 72 | 32 35 35 3b 0d 20 20 20 |me : Str|255;. |
|00000800| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000810| 45 4e 44 3b 0d 51 75 69 | 63 6b 44 72 61 77 20 6f |END;.Qui|ckDraw o|
|00000820| 6e 6c 79 20 73 61 76 65 | 73 20 74 68 69 73 20 69 |nly save|s this i|
|00000830| 6e 66 6f 72 6d 61 74 69 | 6f 6e 20 6f 6e 65 20 74 |nformati|on one t|
|00000840| 69 6d 65 20 66 6f 72 20 | 65 61 63 68 20 66 6f 6e |ime for |each fon|
|00000850| 74 20 75 73 65 64 20 69 | 6e 20 61 20 70 69 63 74 |t used i|n a pict|
|00000860| 75 72 65 2e 20 20 57 68 | 65 6e 20 51 75 69 63 6b |ure. Wh|en Quick|
|00000870| 44 72 61 77 20 70 6c 61 | 79 73 20 62 61 63 6b 20 |Draw pla|ys back |
|00000880| 61 20 70 69 63 74 75 72 | 65 2c 20 69 74 20 75 73 |a pictur|e, it us|
|00000890| 65 73 20 74 68 65 20 66 | 6f 6e 74 49 44 20 61 73 |es the f|ontID as|
|000008a0| 20 61 20 72 65 66 65 72 | 65 6e 63 65 20 69 6e 74 | a refer|ence int|
|000008b0| 6f 20 74 68 65 20 6c 69 | 73 74 20 6f 66 20 66 6f |o the li|st of fo|
|000008c0| 6e 74 20 6e 61 6d 65 73 | 20 77 68 69 63 68 20 61 |nt names| which a|
|000008d0| 72 65 20 75 73 65 64 20 | 74 6f 20 73 65 74 20 74 |re used |to set t|
|000008e0| 68 65 20 63 6f 72 72 65 | 63 74 20 66 6f 6e 74 20 |he corre|ct font |
|000008f0| 6f 6e 20 74 68 65 20 74 | 61 72 67 65 74 20 73 79 |on the t|arget sy|
|00000900| 73 74 65 6d 2e 0d 46 6f | 72 20 65 78 61 6d 70 6c |stem..Fo|r exampl|
|00000910| 65 2c 20 74 68 65 20 66 | 6f 6c 6c 6f 77 69 6e 67 |e, the f|ollowing|
|00000920| 20 63 6f 64 65 3a 0d 20 | 20 20 20 47 65 74 46 4e | code:. | GetFN|
|00000930| 75 6d 28 27 56 65 6e 69 | 63 65 27 2c 20 74 68 65 |um('Veni|ce', the|
|00000940| 46 6f 6e 74 49 44 29 3b | 20 20 20 20 7b 20 53 65 |FontID);| { Se|
|00000950| 74 20 61 20 66 6f 6e 74 | 20 62 65 66 6f 72 65 20 |t a font| before |
|00000960| 6f 70 65 6e 69 6e 67 20 | 50 49 43 54 7d 0d 20 20 |opening |PICT}. |
|00000970| 20 20 54 65 78 74 46 6f | 6e 74 28 74 68 65 46 6f | TextFo|nt(theFo|
|00000980| 6e 74 49 44 29 3b 0d 20 | 20 20 20 70 48 61 6e 64 |ntID);. | pHand|
|00000990| 32 20 3a 3d 20 4f 70 65 | 6e 50 69 63 74 75 72 65 |2 := Ope|nPicture|
|000009a0| 20 28 70 69 63 74 52 65 | 63 74 29 3b 0d 20 20 20 | (pictRe|ct);. |
|000009b0| 20 20 20 20 20 4d 6f 76 | 65 54 6f 28 32 30 2c 32 | Mov|eTo(20,2|
|000009c0| 30 29 3b 0d 20 20 20 20 | 20 20 20 20 44 72 61 77 |0);. | Draw|
|000009d0| 53 74 72 69 6e 67 28 27 | 20 42 65 74 74 65 72 20 |String('| Better |
|000009e0| 62 65 20 56 65 6e 69 63 | 65 27 29 3b 0d 20 20 20 |be Venic|e');. |
|000009f0| 20 20 20 20 20 47 65 74 | 46 4e 75 6d 28 27 47 65 | Get|FNum('Ge|
|00000a00| 6e 65 76 61 27 2c 20 74 | 68 65 46 6f 6e 74 49 44 |neva', t|heFontID|
|00000a10| 29 3b 0d 20 20 20 20 20 | 20 20 20 54 65 78 74 46 |);. | TextF|
|00000a20| 6f 6e 74 28 74 68 65 46 | 6f 6e 74 49 44 29 3b 0d |ont(theF|ontID);.|
|00000a30| 20 20 20 20 20 20 20 20 | 4d 6f 76 65 54 6f 28 32 | |MoveTo(2|
|00000a40| 30 2c 34 30 29 3b 0d 20 | 20 20 20 20 20 20 20 44 |0,40);. | D|
|00000a50| 72 61 77 53 74 72 69 6e | 67 28 27 47 65 6e 65 76 |rawStrin|g('Genev|
|00000a60| 61 27 29 3b 0d 20 20 20 | 20 20 20 20 20 47 65 74 |a');. | Get|
|00000a70| 46 4e 75 6d 28 27 4e 65 | 77 20 59 6f 72 6b 27 2c |FNum('Ne|w York',|
|00000a80| 20 74 68 65 46 6f 6e 74 | 49 44 29 3b 0d 20 20 20 | theFont|ID);. |
|00000a90| 20 20 20 20 20 54 65 78 | 74 46 6f 6e 74 28 74 68 | Tex|tFont(th|
|00000aa0| 65 46 6f 6e 74 49 44 29 | 3b 0d 20 20 20 20 20 20 |eFontID)|;. |
|00000ab0| 20 20 4d 6f 76 65 54 6f | 28 32 30 2c 36 30 29 3b | MoveTo|(20,60);|
|00000ac0| 0d 20 20 20 20 20 20 20 | 20 44 72 61 77 53 74 72 |. | DrawStr|
|00000ad0| 69 6e 67 28 27 4e 65 77 | 20 59 6f 72 6b 27 29 3b |ing('New| York');|
|00000ae0| 0d 20 20 20 20 20 20 20 | 20 47 65 74 46 4e 75 6d |. | GetFNum|
|00000af0| 28 27 47 65 6e 65 76 61 | 27 2c 20 74 68 65 46 6f |('Geneva|', theFo|
|00000b00| 6e 74 49 44 29 3b 0d 20 | 20 20 20 20 20 20 20 54 |ntID);. | T|
|00000b10| 65 78 74 46 6f 6e 74 28 | 74 68 65 46 6f 6e 74 49 |extFont(|theFontI|
|00000b20| 44 29 3b 0d 20 20 20 20 | 20 20 20 20 4d 6f 76 65 |D);. | Move|
|00000b30| 54 6f 28 32 30 2c 38 30 | 29 3b 0d 20 20 20 20 20 |To(20,80|);. |
|00000b40| 20 20 20 44 72 61 77 53 | 74 72 69 6e 67 28 27 47 | DrawS|tring('G|
|00000b50| 65 6e 65 76 61 27 29 3b | 0d 20 20 20 20 43 6c 6f |eneva');|. Clo|
|00000b60| 73 65 50 69 63 74 75 72 | 65 3b 20 0d 67 65 6e 65 |sePictur|e; .gene|
|00000b70| 72 61 74 65 73 20 61 20 | 70 69 63 74 75 72 65 20 |rates a |picture |
|00000b80| 63 6f 6e 74 61 69 6e 69 | 6e 67 20 66 6f 6e 74 20 |containi|ng font |
|00000b90| 69 6e 66 6f 72 6d 61 74 | 69 6f 6e 20 6c 69 6b 65 |informat|ion like|
|00000ba0| 20 74 68 69 73 3a 0d 20 | 20 20 20 4f 70 43 6f 64 | this:. | OpCod|
|00000bb0| 65 20 30 78 30 30 32 43 | 20 7b 39 2c 20 0d 20 20 |e 0x002C| {9, . |
|00000bc0| 20 20 20 20 20 20 22 30 | 30 30 35 20 30 36 35 36 | "0|005 0656|
|00000bd0| 20 36 35 36 45 20 36 39 | 36 33 20 36 35 22 7d 20 | 656E 69|63 65"} |
|00000be0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 2f 2a 20 | | /* |
|00000bf0| 73 61 76 65 20 63 75 72 | 72 65 6e 74 20 66 6f 6e |save cur|rent fon|
|00000c00| 74 20 20 20 20 20 2a 2f | 0d 20 20 20 20 54 78 46 |t */|. TxF|
|00000c10| 6f 6e 74 20 27 76 65 6e | 69 63 65 27 0d 20 20 20 |ont 'ven|ice'. |
|00000c20| 20 44 48 44 56 54 65 78 | 74 20 7b 32 30 2c 20 32 | DHDVTex|t {20, 2|
|00000c30| 30 2c 20 22 20 42 65 74 | 74 65 72 20 62 65 20 56 |0, " Bet|ter be V|
|00000c40| 65 6e 69 63 65 22 7d 0d | 20 20 20 20 4f 70 43 6f |enice"}.| OpCo|
|00000c50| 64 65 20 30 78 30 30 32 | 43 20 7b 39 2c 20 20 20 |de 0x002|C {9, |
|00000c60| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000c70| 20 20 20 20 20 20 20 2f | 2a 20 73 61 76 65 20 6e | /|* save n|
|00000c80| 65 78 74 20 66 6f 6e 74 | 20 6e 61 6d 65 20 20 20 |ext font| name |
|00000c90| 2a 2f 0d 20 20 20 20 20 | 20 20 20 22 30 30 30 33 |*/. | "0003|
|00000ca0| 20 30 36 34 37 20 36 35 | 36 45 20 36 35 37 36 20 | 0647 65|6E 6576 |
|00000cb0| 36 31 22 7d 0d 20 20 20 | 20 54 78 46 6f 6e 74 20 |61"}. | TxFont |
|00000cc0| 27 67 65 6e 65 76 61 27 | 0d 20 20 20 20 44 56 54 |'geneva'|. DVT|
|00000cd0| 65 78 74 20 7b 32 30 2c | 20 22 47 65 6e 65 76 61 |ext {20,| "Geneva|
|00000ce0| 22 7d 0d 20 20 20 20 4f | 70 43 6f 64 65 20 30 78 |"}. O|pCode 0x|
|00000cf0| 30 30 32 43 20 7b 31 31 | 2c 20 20 20 20 20 20 20 |002C {11|, |
|00000d00| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000d10| 20 20 2f 2a 20 64 69 74 | 74 6f 20 20 20 20 20 20 | /* dit|to |
|00000d20| 20 20 20 20 20 20 20 20 | 20 20 20 2a 2f 0d 20 20 | | */. |
|00000d30| 20 20 20 20 20 20 22 30 | 30 30 32 20 30 38 34 45 | "0|002 084E|
|00000d40| 20 36 35 37 37 20 32 30 | 35 39 20 36 46 37 32 20 | 6577 20|59 6F72 |
|00000d50| 36 42 22 7d 0d 20 20 20 | 20 54 78 46 6f 6e 74 20 |6B"}. | TxFont |
|00000d60| 27 6e 65 77 59 6f 72 6b | 27 0d 20 20 20 20 44 56 |'newYork|'. DV|
|00000d70| 54 65 78 74 20 7b 32 30 | 2c 20 22 4e 65 77 20 59 |Text {20|, "New Y|
|00000d80| 6f 72 6b 22 7d 0d 20 20 | 20 20 54 78 46 6f 6e 74 |ork"}. | TxFont|
|00000d90| 20 27 67 65 6e 65 76 61 | 27 20 20 20 20 20 20 20 | 'geneva|' |
|00000da0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000db0| 20 20 20 20 20 2f 2a 20 | 73 65 63 6f 6e 64 20 47 | /* |second G|
|00000dc0| 65 6e 65 76 61 20 64 6f | 65 73 20 6e 6f 74 0d 20 |eneva do|es not. |
|00000dd0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000de0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000df0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000e00| 6e 65 65 64 20 61 6e 6f | 74 68 65 72 20 24 30 30 |need ano|ther $00|
|00000e10| 32 43 20 67 75 79 20 2a | 2f 0d 20 20 20 20 44 56 |2C guy *|/. DV|
|00000e20| 54 65 78 74 20 7b 32 30 | 2c 20 22 47 65 6e 65 76 |Text {20|, "Genev|
|00000e30| 61 22 7d 0d 54 68 69 73 | 20 66 65 61 74 75 72 65 |a"}.This| feature|
|00000e40| 20 77 6f 72 6b 73 20 72 | 65 67 61 72 64 6c 65 73 | works r|egardles|
|00000e50| 73 20 6f 66 20 74 68 65 | 20 74 79 70 65 20 6f 66 |s of the| type of|
|00000e60| 20 70 69 63 74 75 72 65 | 20 62 65 69 6e 67 20 73 | picture| being s|
|00000e70| 61 76 65 64 2c 20 69 6e | 63 6c 75 64 69 6e 67 20 |aved, in|cluding |
|00000e80| 6f 6c 64 20 73 74 79 6c | 65 20 50 49 43 54 73 20 |old styl|e PICTs |
|00000e90| 69 6e 20 61 20 62 6c 61 | 63 6b 20 61 6e 64 20 77 |in a bla|ck and w|
|00000ea0| 68 69 74 65 20 70 6f 72 | 74 2e 20 20 55 73 69 6e |hite por|t. Usin|
|00000eb0| 67 20 5f 4f 70 65 6e 43 | 50 69 63 74 75 72 65 20 |g _OpenC|Picture |
|00000ec0| 69 6e 73 74 65 61 64 20 | 6f 66 20 5f 4f 70 65 6e |instead |of _Open|
|00000ed0| 50 69 63 74 75 72 65 20 | 74 6f 20 73 74 61 72 74 |Picture |to start|
|00000ee0| 20 61 20 72 65 63 6f 72 | 64 69 6e 67 20 73 65 73 | a recor|ding ses|
|00000ef0| 73 69 6f 6e 20 72 65 73 | 75 6c 74 73 20 69 6e 20 |sion res|ults in |
|00000f00| 74 68 65 20 73 61 6d 65 | 20 66 75 6e 63 74 69 6f |the same| functio|
|00000f10| 6e 61 6c 69 74 79 2e 0d | 44 69 72 65 63 74 20 50 |nality..|Direct P|
|00000f20| 69 78 50 61 74 20 53 74 | 72 75 63 74 75 72 65 73 |ixPat St|ructures|
|00000f30| 20 4e 6f 77 20 53 75 70 | 70 6f 72 74 65 64 0d 51 | Now Sup|ported.Q|
|00000f40| 75 69 63 6b 44 72 61 77 | 20 6e 6f 77 20 73 75 70 |uickDraw| now sup|
|00000f50| 70 6f 72 74 73 20 31 36 | 2d 62 69 74 20 61 6e 64 |ports 16|-bit and|
|00000f60| 20 33 32 2d 62 69 74 20 | 70 65 72 20 70 69 78 65 | 32-bit |per pixe|
|00000f70| 6c 20 50 69 78 50 61 74 | 20 73 74 72 75 63 74 75 |l PixPat| structu|
|00000f80| 72 65 73 20 28 70 61 74 | 54 79 70 65 20 3d 20 31 |res (pat|Type = 1|
|00000f90| 29 2e 20 20 49 6e 20 61 | 64 64 69 74 69 6f 6e 2c |). In a|ddition,|
|00000fa0| 20 69 74 20 6e 6f 77 20 | 73 75 70 70 6f 72 74 73 | it now |supports|
|00000fb0| 20 61 20 6e 65 77 20 70 | 61 74 54 79 70 65 20 28 | a new p|atType (|
|00000fc0| 33 29 20 77 68 69 63 68 | 20 75 73 65 73 20 64 69 |3) which| uses di|
|00000fd0| 74 68 65 72 69 6e 67 20 | 77 68 65 6e 65 76 65 72 |thering |whenever|
|00000fe0| 20 31 36 2d 62 69 74 20 | 6f 72 20 33 32 2d 62 69 | 16-bit |or 32-bi|
|00000ff0| 74 20 20 70 69 78 65 6c | 20 70 61 74 74 65 72 6e |t pixel| pattern|
|00001000| 73 20 61 72 65 20 64 69 | 73 70 6c 61 79 65 64 20 |s are di|splayed |
|00001010| 6f 6e 20 69 6e 64 65 78 | 65 64 20 64 65 76 69 63 |on index|ed devic|
|00001020| 65 73 2e 0d 44 69 72 65 | 63 74 20 27 63 69 63 6e |es..Dire|ct 'cicn|
|00001030| 27 20 52 65 73 6f 75 72 | 63 65 73 20 4e 6f 77 20 |' Resour|ces Now |
|00001040| 53 75 70 70 6f 72 74 65 | 64 0d 51 75 69 63 6b 44 |Supporte|d.QuickD|
|00001050| 72 61 77 20 6e 6f 77 20 | 73 75 70 70 6f 72 74 73 |raw now |supports|
|00001060| 20 31 36 2d 62 69 74 20 | 61 6e 64 20 33 32 2d 62 | 16-bit |and 32-b|
|00001070| 69 74 20 70 65 72 20 70 | 69 78 65 6c 20 27 63 69 |it per p|ixel 'ci|
|00001080| 63 6e 27 20 72 65 73 6f | 75 72 63 65 73 2e 20 20 |cn' reso|urces. |
|00001090| 54 68 65 20 31 36 2d 62 | 69 74 20 70 65 72 20 70 |The 16-b|it per p|
|000010a0| 69 78 65 6c 20 69 73 20 | 70 61 72 74 69 63 75 6c |ixel is |particul|
|000010b0| 61 72 6c 79 20 63 6f 6f | 6c 20 73 69 6e 63 65 20 |arly coo|l since |
|000010c0| 79 6f 75 20 73 61 76 65 | 20 74 68 65 20 73 70 61 |you save| the spa|
|000010d0| 63 65 20 72 65 71 75 69 | 72 65 64 20 66 6f 72 20 |ce requi|red for |
|000010e0| 61 6e 20 38 2d 62 69 74 | 20 27 63 6c 75 74 27 2e |an 8-bit| 'clut'.|
|000010f0| 0d 47 57 6f 72 6c 64 73 | 20 43 61 6e 20 4e 6f 77 |.GWorlds| Can Now|
|00001100| 20 42 65 20 41 6c 6c 6f | 63 61 74 65 64 20 69 6e | Be Allo|cated in|
|00001110| 20 4d 75 6c 74 69 46 69 | 6e 64 65 72 20 54 65 6d | MultiFi|nder Tem|
|00001120| 70 6f 72 61 72 79 20 4d | 65 6d 6f 72 79 0d 59 6f |porary M|emory.Yo|
|00001130| 75 20 63 61 6e 20 6e 6f | 77 20 75 73 65 20 74 68 |u can no|w use th|
|00001140| 65 20 6e 65 77 20 75 73 | 65 4d 46 54 65 6d 70 42 |e new us|eMFTempB|
|00001150| 69 74 20 28 62 69 74 20 | 32 29 20 69 6e 20 61 20 |it (bit |2) in a |
|00001160| 63 61 6c 6c 20 74 6f 20 | 4e 65 77 47 57 6f 72 6c |call to |NewGWorl|
|00001170| 64 20 61 73 20 61 6e 20 | 6f 70 74 69 6f 6e 20 74 |d as an |option t|
|00001180| 6f 20 61 6c 6c 6f 63 61 | 74 65 20 70 69 78 65 6c |o alloca|te pixel|
|00001190| 73 20 69 6e 20 4d 75 6c | 74 69 46 69 6e 64 65 72 |s in Mul|tiFinder|
|000011a0| 20 74 65 6d 70 6f 72 61 | 72 79 20 6d 65 6d 6f 72 | tempora|ry memor|
|000011b0| 79 2e 20 20 49 6e 20 61 | 64 64 69 74 69 6f 6e 2c |y. In a|ddition,|
|000011c0| 20 79 6f 75 20 63 61 6e | 20 6e 6f 77 20 61 6c 6c | you can| now all|
|000011d0| 6f 63 61 74 65 20 73 63 | 72 65 65 6e 20 62 75 66 |ocate sc|reen buf|
|000011e0| 66 65 72 73 20 69 6e 20 | 4d 75 6c 74 69 46 69 6e |fers in |MultiFin|
|000011f0| 64 65 72 20 74 65 6d 70 | 6f 72 61 72 79 20 6d 65 |der temp|orary me|
|00001200| 6d 6f 72 79 20 75 73 69 | 6e 67 20 74 68 65 20 66 |mory usi|ng the f|
|00001210| 6f 6c 6c 6f 77 69 6e 67 | 20 72 6f 75 74 69 6e 65 |ollowing| routine|
|00001220| 2c 20 64 65 66 69 6e 65 | 64 20 69 6e 20 50 61 73 |, define|d in Pas|
|00001230| 63 61 6c 20 61 6e 64 20 | 43 3a 0d 46 55 4e 43 54 |cal and |C:.FUNCT|
|00001240| 49 4f 4e 20 4e 65 77 54 | 65 6d 70 53 63 72 65 65 |ION NewT|empScree|
|00001250| 6e 42 75 66 66 65 72 20 | 28 67 6c 6f 62 61 6c 52 |nBuffer |(globalR|
|00001260| 65 63 74 3a 20 52 65 63 | 74 3b 20 70 75 72 67 65 |ect: Rec|t; purge|
|00001270| 61 62 6c 65 3a 20 42 4f | 4f 4c 45 41 4e 3b 0d 20 |able: BO|OLEAN;. |
|00001280| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001290| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 56 41 52 | | VAR|
|000012a0| 20 67 64 68 3a 20 47 44 | 48 61 6e 64 6c 65 3b 0d | gdh: GD|Handle;.|
|000012b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000012c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 56 | | V|
|000012d0| 41 52 20 6f 66 66 73 63 | 72 65 65 6e 50 69 78 4d |AR offsc|reenPixM|
|000012e0| 61 70 3a 20 50 69 78 4d | 61 70 48 61 6e 64 6c 65 |ap: PixM|apHandle|
|000012f0| 29 3a 20 51 44 45 72 72 | 3b 0d 20 20 20 20 20 20 |): QDErr|;. |
|00001300| 20 20 20 20 20 20 20 49 | 4e 4c 49 4e 45 20 24 32 | I|NLINE $2|
|00001310| 30 33 43 2c 24 30 30 30 | 45 2c 20 24 30 30 31 35 |03C,$000|E, $0015|
|00001320| 2c 24 41 42 31 44 3b 20 | 7b 20 4d 6f 76 65 2e 4c |,$AB1D; |{ Move.L|
|00001330| 20 23 24 30 30 30 45 30 | 30 31 35 2c 44 30 0d 20 | #$000E0|015,D0. |
|00001340| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001350| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001360| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 5f 51 | | _Q|
|00001370| 44 4f 66 66 73 63 72 65 | 65 6e 0d 20 20 20 20 20 |DOffscre|en. |
|00001380| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001390| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000013a0| 20 20 20 20 20 20 20 20 | 7d 0d 70 61 73 63 61 6c | |}.pascal|
|000013b0| 20 51 44 45 72 72 20 4e | 65 77 54 65 6d 70 53 63 | QDErr N|ewTempSc|
|000013c0| 72 65 65 6e 42 75 66 66 | 65 72 20 28 52 65 63 74 |reenBuff|er (Rect|
|000013d0| 20 2a 67 6c 6f 62 61 6c | 52 65 63 74 2c 20 42 4f | *global|Rect, BO|
|000013e0| 4f 4c 45 41 4e 20 70 75 | 72 67 65 61 62 6c 65 2c |OLEAN pu|rgeable,|
|000013f0| 0d 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00001400| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 47 | | G|
|00001410| 44 48 61 6e 64 6c 65 20 | 2a 67 64 68 2c 0d 20 20 |DHandle |*gdh,. |
|00001420| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001430| 20 20 20 20 20 20 20 20 | 20 20 20 20 50 69 78 4d | | PixM|
|00001440| 61 70 48 61 6e 64 6c 65 | ca 2a 6f 66 66 73 63 72 |apHandle|.*offscr|
|00001450| 65 65 6e 50 69 78 4d 61 | 70 29 0d 20 20 20 20 20 |eenPixMa|p). |
|00001460| 20 20 20 20 20 20 20 20 | 3d 7b 30 78 32 30 33 43 | |={0x203C|
|00001470| 2c 30 78 30 30 30 45 2c | 30 78 30 30 31 35 2c 30 |,0x000E,|0x0015,0|
|00001480| 78 41 42 31 44 7d 3b 20 | 0d 49 6e 64 65 78 65 64 |xAB1D}; |.Indexed|
|00001490| 20 74 6f 20 49 6e 64 65 | 78 65 64 20 44 69 74 68 | to Inde|xed Dith|
|000014a0| 65 72 69 6e 67 0d 5f 43 | 6f 70 79 42 69 74 73 20 |ering._C|opyBits |
|000014b0| 6e 6f 77 20 73 75 70 70 | 6f 72 74 73 20 74 68 65 |now supp|orts the|
|000014c0| 20 64 69 74 68 65 72 43 | 6f 70 79 20 74 72 61 6e | ditherC|opy tran|
|000014d0| 73 66 65 72 20 6d 6f 64 | 65 20 77 68 65 6e 65 76 |sfer mod|e whenev|
|000014e0| 65 72 20 74 68 65 20 64 | 65 73 74 69 6e 61 74 69 |er the d|estinati|
|000014f0| 6f 6e 20 64 65 76 69 63 | 65 20 69 73 20 62 65 74 |on devic|e is bet|
|00001500| 77 65 65 6e 20 6f 6e 65 | 20 61 6e 64 20 65 69 67 |ween one| and eig|
|00001510| 68 74 20 62 69 74 73 20 | 70 65 72 20 70 69 78 65 |ht bits |per pixe|
|00001520| 6c 2c 20 72 65 67 61 72 | 64 6c 65 73 73 20 6f 66 |l, regar|dless of|
|00001530| 20 74 68 65 20 64 65 70 | 74 68 20 6f 66 20 74 68 | the dep|th of th|
|00001540| 65 20 73 6f 75 72 63 65 | 20 69 6d 61 67 65 2e 20 |e source| image. |
|00001550| 20 57 69 74 68 20 74 68 | 69 73 20 73 75 70 70 6f | With th|is suppo|
|00001560| 72 74 2c 20 61 6e 20 65 | 69 67 68 74 2d 62 69 74 |rt, an e|ight-bit|
|00001570| 20 69 6d 61 67 65 20 63 | 61 6e 20 6e 6f 77 20 62 | image c|an now b|
|00001580| 65 20 61 70 70 72 6f 78 | 69 6d 61 74 65 64 20 6f |e approx|imated o|
|00001590| 6e 20 61 20 6f 6e 65 2d | 62 69 74 20 6f 72 20 61 |n a one-|bit or a|
|000015a0| 20 66 6f 75 72 2d 62 69 | 74 20 64 65 76 69 63 65 | four-bi|t device|
|000015b0| 20 62 79 20 75 73 69 6e | 67 20 65 72 72 6f 72 20 | by usin|g error |
|000015c0| 64 69 66 66 75 73 69 6f | 6e 2e 20 20 46 75 72 74 |diffusio|n. Furt|
|000015d0| 68 65 72 6d 6f 72 65 2c | 20 61 6e 20 65 69 67 68 |hermore,| an eigh|
|000015e0| 74 2d 62 69 74 20 69 6d | 61 67 65 20 63 6f 75 6c |t-bit im|age coul|
|000015f0| 64 20 61 6c 73 6f 20 62 | 65 20 64 69 74 68 65 72 |d also b|e dither|
|00001600| 65 64 20 74 6f 20 61 20 | 64 69 66 66 65 72 65 6e |ed to a |differen|
|00001610| 74 20 73 65 74 20 6f 66 | 20 32 35 36 20 63 6f 6c |t set of| 256 col|
|00001620| 6f 72 73 20 6f 72 20 61 | 20 66 6f 75 72 2d 62 69 |ors or a| four-bi|
|00001630| 74 20 69 6d 61 67 65 20 | 63 6f 75 6c 64 20 62 65 |t image |could be|
|00001640| 20 64 69 74 68 65 72 65 | 64 20 74 6f 20 61 6e 20 | dithere|d to an |
|00001650| 65 69 67 68 74 2d 62 69 | 74 20 64 65 76 69 63 65 |eight-bi|t device|
|00001660| 20 74 68 61 74 20 64 6f | 65 73 20 6e 6f 74 20 68 | that do|es not h|
|00001670| 61 76 65 20 74 68 65 20 | 64 65 73 69 72 65 64 20 |ave the |desired |
|00001680| 63 6f 6c 6f 72 73 2e 0d | 33 32 2d 42 69 74 20 41 |colors..|32-Bit A|
|00001690| 64 64 72 65 73 73 65 64 | 20 50 69 78 4d 61 70 20 |ddressed| PixMap |
|000016a0| 53 74 72 75 63 74 75 72 | 65 73 0d 56 65 72 73 69 |Structur|es.Versi|
|000016b0| 6f 6e 20 31 2e 32 20 64 | 65 66 69 6e 65 73 20 61 |on 1.2 d|efines a|
|000016c0| 20 6e 65 77 20 70 6d 56 | 65 72 73 69 6f 6e 20 28 | new pmV|ersion (|
|000016d0| 62 61 73 65 41 64 64 72 | 33 32 20 3d 20 34 29 20 |baseAddr|32 = 4) |
|000016e0| 66 6f 72 20 33 32 2d 62 | 69 74 20 70 6f 69 6e 74 |for 32-b|it point|
|000016f0| 65 72 20 62 61 73 65 41 | 64 64 72 20 76 61 6c 75 |er baseA|ddr valu|
|00001700| 65 73 2e 20 20 54 68 65 | 20 62 61 73 65 41 64 64 |es. The| baseAdd|
|00001710| 72 20 6f 66 20 73 75 63 | 68 20 50 69 78 4d 61 70 |r of suc|h PixMap|
|00001720| 20 73 74 72 75 63 74 75 | 72 65 73 20 69 73 20 74 | structu|res is t|
|00001730| 72 65 61 74 65 64 20 61 | 73 20 61 20 33 32 2d 62 |reated a|s a 32-b|
|00001740| 69 74 20 61 64 64 72 65 | 73 73 2c 20 73 6f 20 6e |it addre|ss, so n|
|00001750| 6f 20 73 74 72 69 70 70 | 69 6e 67 20 6f 72 20 61 |o stripp|ing or a|
|00001760| 64 64 72 65 73 73 20 74 | 72 61 6e 73 6c 61 74 69 |ddress t|ranslati|
|00001770| 6f 6e 20 69 73 20 70 65 | 72 66 6f 72 6d 65 64 20 |on is pe|rformed |
|00001780| 6f 6e 20 69 74 20 69 6e | 20 33 32 2d 62 69 74 20 |on it in| 32-bit |
|00001790| 6d 6f 64 65 2e 20 20 54 | 68 69 73 20 69 73 20 61 |mode. T|his is a|
|000017a0| 20 73 70 65 63 69 61 6c | 6c 79 20 75 73 65 66 75 | special|ly usefu|
|000017b0| 6c 20 66 65 61 74 75 72 | 65 20 77 68 65 6e 20 74 |l featur|e when t|
|000017c0| 68 65 20 62 61 73 65 20 | 61 64 64 72 65 73 73 20 |he base |address |
|000017d0| 6f 66 20 61 20 50 69 78 | 4d 61 70 20 70 6f 69 6e |of a Pix|Map poin|
|000017e0| 74 73 20 74 6f 20 61 20 | 4e 75 42 75 73 aa 20 61 |ts to a |NuBus. a|
|000017f0| 64 64 72 65 73 73 2c 20 | 66 6f 72 20 65 78 61 6d |ddress, |for exam|
|00001800| 70 6c 65 20 69 6e 20 61 | 20 76 69 64 65 6f 20 67 |ple in a| video g|
|00001810| 72 61 62 62 65 72 20 62 | 6f 61 72 64 2e 0d 41 20 |rabber b|oard..A |
|00001820| 6e 65 77 20 63 61 6c 6c | 2c 20 50 69 78 6d 61 70 |new call|, Pixmap|
|00001830| 33 32 42 69 74 2c 20 69 | 73 20 6e 6f 77 20 61 76 |32Bit, i|s now av|
|00001840| 61 69 6c 61 62 6c 65 20 | 74 6f 20 69 6e 71 75 69 |ailable |to inqui|
|00001850| 72 65 20 69 66 20 61 20 | 67 69 76 65 6e 20 50 69 |re if a |given Pi|
|00001860| 78 4d 61 70 20 72 65 71 | 75 69 72 65 73 20 33 32 |xMap req|uires 32|
|00001870| 2d 62 69 74 20 61 64 64 | 72 65 73 73 69 6e 67 2e |-bit add|ressing.|
|00001880| 0d 46 55 4e 43 54 49 4f | 4e 20 50 69 78 6d 61 70 |.FUNCTIO|N Pixmap|
|00001890| 33 32 42 69 74 28 70 6d | 68 3a 70 69 78 4d 61 70 |32Bit(pm|h:pixMap|
|000018a0| 48 61 6e 64 6c 65 29 3a | 42 6f 6f 6c 65 61 6e 3b |Handle):|Boolean;|
|000018b0| 0d 20 20 20 20 49 4e 4c | 49 4e 45 20 24 32 30 33 |. INL|INE $203|
|000018c0| 43 2c 24 30 30 30 34 2c | 20 24 30 30 31 36 2c 24 |C,$0004,| $0016,$|
|000018d0| 41 42 31 44 3b 20 7b 20 | 4d 6f 76 65 2e 4c 20 23 |AB1D; { |Move.L #|
|000018e0| 24 30 30 30 34 30 30 31 | 36 2c 44 30 0d 20 20 20 |$0004001|6,D0. |
|000018f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001900| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001910| 20 20 20 5f 51 44 4f 66 | 66 73 63 72 65 65 6e 0d | _QDOf|fscreen.|
|00001920| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001930| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001940| 20 20 20 20 7d 0d 70 61 | 73 63 61 6c 20 42 4f 4f | }.pa|scal BOO|
|00001950| 4c 45 41 4e 20 50 69 78 | 6d 61 70 33 32 42 69 74 |LEAN Pix|map32Bit|
|00001960| 28 70 69 78 4d 61 70 48 | 61 6e 64 6c 65 20 70 6d |(pixMapH|andle pm|
|00001970| 68 29 0d 20 20 20 20 3d | 20 7b 30 78 32 30 33 43 |h). =| {0x203C|
|00001980| 2c 30 78 30 30 30 34 2c | 20 30 78 30 30 31 36 2c |,0x0004,| 0x0016,|
|00001990| 30 78 41 42 31 44 7d 3b | 20 0d 55 70 64 61 74 65 |0xAB1D};| .Update|
|000019a0| 64 20 47 65 74 50 69 78 | 42 61 73 65 41 64 64 72 |d GetPix|BaseAddr|
|000019b0| 65 73 73 0d 56 65 72 73 | 69 6f 6e 20 31 2e 32 20 |ess.Vers|ion 1.2 |
|000019c0| 75 70 64 61 74 65 73 20 | 47 65 74 50 69 78 42 61 |updates |GetPixBa|
|000019d0| 73 65 41 64 64 72 65 73 | 73 20 74 6f 20 72 65 74 |seAddres|s to ret|
|000019e0| 75 72 6e 20 74 68 65 20 | 61 64 64 72 65 73 73 20 |urn the |address |
|000019f0| 6f 66 20 61 6e 79 20 50 | 69 78 4d 61 70 2e 20 20 |of any P|ixMap. |
|00001a00| 54 68 65 20 72 6f 75 74 | 69 6e 65 20 64 6f 65 73 |The rout|ine does|
|00001a10| 20 74 68 65 20 72 69 67 | 68 74 20 61 64 64 72 65 | the rig|ht addre|
|00001a20| 73 73 20 74 72 61 6e 73 | 6c 61 74 69 6f 6e 20 6f |ss trans|lation o|
|00001a30| 72 20 73 74 72 69 70 70 | 69 6e 67 20 66 6f 72 20 |r stripp|ing for |
|00001a40| 61 6c 6c 20 50 69 78 4d | 61 70 20 73 74 72 75 63 |all PixM|ap struc|
|00001a50| 74 75 72 65 73 2c 20 69 | 6e 63 6c 75 64 69 6e 67 |tures, i|ncluding|
|00001a60| 20 73 63 72 65 65 6e 20 | 64 65 76 69 63 65 73 2c | screen |devices,|
|00001a70| 20 75 6e 6c 6f 63 6b 65 | 64 20 47 57 6f 72 6c 64 | unlocke|d GWorld|
|00001a80| 73 2c 20 61 6e 64 20 33 | 32 2d 62 69 74 20 61 64 |s, and 3|2-bit ad|
|00001a90| 64 72 65 73 73 65 64 20 | 50 69 78 4d 61 70 20 73 |dressed |PixMap s|
|00001aa0| 74 72 75 63 74 75 72 65 | 73 2e 20 20 54 68 65 20 |tructure|s. The |
|00001ab0| 61 64 64 72 65 73 73 20 | 69 74 20 72 65 74 75 72 |address |it retur|
|00001ac0| 6e 73 20 69 73 20 6f 6e | 6c 79 20 76 61 6c 69 64 |ns is on|ly valid|
|00001ad0| 20 69 6e 20 33 32 2d 62 | 69 74 20 61 64 64 72 65 | in 32-b|it addre|
|00001ae0| 73 73 69 6e 67 20 6d 6f | 64 65 2e 20 41 6c 73 6f |ssing mo|de. Also|
|00001af0| 20 75 6e 6c 65 73 73 20 | 74 68 65 20 50 69 78 4d | unless |the PixM|
|00001b00| 61 70 20 69 73 20 6c 6f | 63 6b 65 64 20 61 6e 64 |ap is lo|cked and|
|00001b10| 20 6d 61 64 65 20 75 6e | 70 75 72 67 65 61 62 6c | made un|purgeabl|
|00001b20| 65 2c 20 74 68 65 20 61 | 64 64 72 65 73 73 20 72 |e, the a|ddress r|
|00001b30| 65 74 75 72 6e 65 64 20 | 62 79 20 47 65 74 50 69 |eturned |by GetPi|
|00001b40| 78 42 61 73 65 41 64 64 | 72 65 73 73 20 69 73 20 |xBaseAdd|ress is |
|00001b50| 6f 6e 6c 79 20 76 61 6c | 69 64 20 75 6e 74 69 6c |only val|id until|
|00001b60| 20 61 6e 79 20 63 61 6c | 6c 20 74 6f 20 51 75 69 | any cal|l to Qui|
|00001b70| 63 6b 44 72 61 77 20 6f | 72 20 74 68 65 20 74 6f |ckDraw o|r the to|
|00001b80| 6f 6c 62 6f 78 20 69 73 | 20 6d 61 64 65 2e 0d 5f |olbox is| made.._|
|00001b90| 43 6f 70 79 42 69 74 73 | 20 66 72 6f 6d 20 53 63 |CopyBits| from Sc|
|00001ba0| 72 65 65 6e 20 44 65 76 | 69 63 65 73 0d 54 68 65 |reen Dev|ices.The|
|00001bb0| 20 70 69 63 74 75 72 65 | 20 72 65 63 6f 72 64 69 | picture| recordi|
|00001bc0| 6e 67 20 6d 65 63 68 61 | 6e 69 73 6d 20 68 61 73 |ng mecha|nism has|
|00001bd0| 20 63 68 61 6e 67 65 64 | 20 73 6f 20 74 68 61 74 | changed| so that|
|00001be0| 20 69 66 20 79 6f 75 20 | 63 61 6c 6c 20 5f 43 6f | if you |call _Co|
|00001bf0| 70 79 42 69 74 73 20 77 | 68 69 6c 65 20 72 65 63 |pyBits w|hile rec|
|00001c00| 6f 72 64 69 6e 67 20 61 | 20 70 69 63 74 75 72 65 |ording a| picture|
|00001c10| 20 77 69 74 68 20 74 68 | 65 20 73 6f 75 72 63 65 | with th|e source|
|00001c20| 20 50 69 78 4d 61 70 20 | 62 65 69 6e 67 20 61 20 | PixMap |being a |
|00001c30| 73 63 72 65 65 6e 20 64 | 65 76 69 63 65 2c 20 74 |screen d|evice, t|
|00001c40| 68 65 20 64 61 74 61 20 | 69 73 20 63 6f 72 72 65 |he data |is corre|
|00001c50| 63 74 6c 79 20 61 63 63 | 75 6d 75 6c 61 74 65 64 |ctly acc|umulated|
|00001c60| 20 69 6e 74 6f 20 74 68 | 65 20 70 69 63 74 75 72 | into th|e pictur|
|00001c70| 65 2e 20 20 4e 6f 74 65 | 20 74 68 61 74 20 69 66 |e. Note| that if|
|00001c80| 20 74 68 65 20 73 63 72 | 65 65 6e 20 62 65 69 6e | the scr|een bein|
|00001c90| 67 20 63 6f 70 69 65 64 | 20 69 73 20 6e 6f 74 20 |g copied| is not |
|00001ca0| 74 68 65 20 6d 61 69 6e | 20 73 63 72 65 65 6e 2c |the main| screen,|
|00001cb0| 20 74 68 65 6e 20 74 68 | 65 20 50 69 78 4d 61 70 | then th|e PixMap|
|00001cc0| 20 6d 75 73 74 20 62 65 | 20 61 20 33 32 2d 62 69 | must be| a 32-bi|
|00001cd0| 74 20 61 64 64 72 65 73 | 73 65 64 20 50 69 78 4d |t addres|sed PixM|
|00001ce0| 61 70 2e 20 20 4e 6f 20 | 61 75 78 69 6c 69 61 72 |ap. No |auxiliar|
|00001cf0| 79 20 73 63 72 65 65 6e | 20 62 75 66 66 65 72 20 |y screen| buffer |
|00001d00| 69 73 20 61 6c 6c 6f 63 | 61 74 65 64 20 69 66 20 |is alloc|ated if |
|00001d10| 74 68 65 20 73 6f 75 72 | 63 65 20 72 65 63 74 61 |the sour|ce recta|
|00001d20| 6e 67 6c 65 20 63 6f 76 | 65 72 73 20 6f 6e 6c 79 |ngle cov|ers only|
|00001d30| 20 6f 6e 65 20 73 63 72 | 65 65 6e 2e 0d 4e 65 77 | one scr|een..New|
|00001d40| 20 50 69 63 74 75 72 65 | 20 52 65 63 6f 72 64 69 | Picture| Recordi|
|00001d50| 6e 67 20 54 72 61 70 0d | 56 65 72 73 69 6f 6e 20 |ng Trap.|Version |
|00001d60| 31 2e 32 20 61 64 64 73 | 20 61 20 6e 65 77 20 63 |1.2 adds| a new c|
|00001d70| 61 6c 6c 2c 20 5f 4f 70 | 65 6e 43 50 69 63 74 75 |all, _Op|enCPictu|
|00001d80| 72 65 2c 20 74 6f 20 63 | 72 65 61 74 65 20 70 69 |re, to c|reate pi|
|00001d90| 63 74 75 72 65 73 20 74 | 68 61 74 20 63 6f 6e 74 |ctures t|hat cont|
|00001da0| 61 69 6e 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 20 |ain info|rmation |
|00001db0| 72 65 67 61 72 64 69 6e | 67 20 74 68 65 20 6e 61 |regardin|g the na|
|00001dc0| 74 69 76 65 20 72 65 73 | 6f 6c 75 74 69 6f 6e 20 |tive res|olution |
|00001dd0| 6f 66 20 74 68 65 20 72 | 65 63 6f 72 64 65 64 20 |of the r|ecorded |
|00001de0| 69 6d 61 67 65 2e 20 20 | 57 68 65 6e 20 51 75 69 |image. |When Qui|
|00001df0| 63 6b 44 72 61 77 20 64 | 72 61 77 73 20 74 68 69 |ckDraw d|raws thi|
|00001e00| 73 20 70 69 63 74 75 72 | 65 2c 20 69 74 20 73 63 |s pictur|e, it sc|
|00001e10| 61 6c 65 73 20 74 68 65 | 20 69 6d 61 67 65 20 74 |ales the| image t|
|00001e20| 6f 20 74 68 65 20 72 65 | 73 6f 6c 75 74 69 6f 6e |o the re|solution|
|00001e30| 20 6f 66 20 74 68 65 20 | 74 61 72 67 65 74 20 64 | of the |target d|
|00001e40| 65 76 69 63 65 2e 20 20 | 41 70 70 6c 69 63 61 74 |evice. |Applicat|
|00001e50| 69 6f 6e 73 20 74 68 61 | 74 20 6e 65 65 64 20 74 |ions tha|t need t|
|00001e60| 6f 20 73 63 61 6c 65 20 | 74 68 65 20 69 6d 61 67 |o scale |the imag|
|00001e70| 65 73 20 64 69 72 65 63 | 74 6c 79 20 63 61 6e 20 |es direc|tly can |
|00001e80| 61 6c 73 6f 20 61 63 63 | 65 73 73 20 74 68 69 73 |also acc|ess this|
|00001e90| 20 69 6e 66 6f 72 6d 61 | 74 69 6f 6e 2e 0d 46 55 | informa|tion..FU|
|00001ea0| 4e 43 54 49 4f 4e 20 4f | 70 65 6e 43 50 69 63 74 |NCTION O|penCPict|
|00001eb0| 75 72 65 28 56 41 52 20 | 43 50 69 63 74 49 6e 66 |ure(VAR |CPictInf|
|00001ec0| 6f 3a 43 50 69 63 74 52 | 65 63 6f 72 64 29 3a 50 |o:CPictR|ecord):P|
|00001ed0| 69 63 48 61 6e 64 6c 65 | 3b 0d 20 20 20 20 49 4e |icHandle|;. IN|
|00001ee0| 4c 49 4e 45 20 24 41 41 | 32 30 3b 0d 70 61 73 63 |LINE $AA|20;.pasc|
|00001ef0| 61 6c 20 50 69 63 48 61 | 6e 64 6c 65 20 4f 70 65 |al PicHa|ndle Ope|
|00001f00| 6e 43 50 69 63 74 75 72 | 65 28 43 50 69 63 74 52 |nCPictur|e(CPictR|
|00001f10| 65 63 6f 72 64 20 2a 43 | 50 69 63 74 49 6e 66 6f |ecord *C|PictInfo|
|00001f20| 29 0d 20 20 20 20 3d 20 | 20 30 78 41 41 32 30 3b |). = | 0xAA20;|
|00001f30| 0d 77 68 65 72 65 0d 73 | 74 72 75 63 74 20 43 50 |.where.s|truct CP|
|00001f40| 69 63 74 52 65 63 6f 72 | 64 20 7b 0d 20 20 20 20 |ictRecor|d {. |
|00001f50| 20 20 52 65 63 74 20 43 | 50 69 63 46 72 61 6d 65 | Rect C|PicFrame|
|00001f60| 3b 20 20 20 20 20 20 20 | 20 20 20 20 2f 2a 20 42 |; | /* B|
|00001f70| 6f 75 6e 64 69 6e 67 20 | 72 65 63 74 20 6f 66 20 |ounding |rect of |
|00001f80| 50 69 63 74 75 72 65 20 | 61 74 20 6e 61 74 69 76 |Picture |at nativ|
|00001f90| 65 20 72 65 73 6f 6c 75 | 74 69 6f 6e 20 2a 2f 0d |e resolu|tion */.|
|00001fa0| 20 20 20 20 20 20 46 69 | 78 65 64 20 43 50 69 63 | Fi|xed CPic|
|00001fb0| 48 52 65 73 3b 20 20 20 | 20 20 20 20 20 20 20 20 |HRes; | |
|00001fc0| 2f 2a 20 6e 61 74 69 76 | 65 20 68 6f 72 69 7a 6f |/* nativ|e horizo|
|00001fd0| 6e 74 61 6c 20 72 65 73 | 6f 6c 75 74 69 6f 6e 20 |ntal res|olution |
|00001fe0| 69 6e 20 70 69 78 65 6c | 73 2f 69 6e 63 68 20 20 |in pixel|s/inch |
|00001ff0| 20 2a 2f 0d 20 20 20 20 | 20 20 46 69 78 65 64 20 | */. | Fixed |
|00002000| 43 50 69 63 56 52 65 73 | 3b 20 20 20 20 20 20 20 |CPicVRes|; |
|00002010| 20 20 20 20 2f 2a 20 6e | 61 74 69 76 65 20 76 65 | /* n|ative ve|
|00002020| 72 74 69 63 61 6c 20 72 | 65 73 6f 6c 75 74 69 6f |rtical r|esolutio|
|00002030| 6e 20 69 6e 20 70 69 78 | 65 6c 73 2f 69 6e 63 68 |n in pix|els/inch|
|00002040| 20 20 20 20 20 2a 2f 0d | 20 20 20 20 20 20 73 68 | */.| sh|
|00002050| 6f 72 74 20 43 50 69 63 | 56 65 72 73 69 6f 6e 3b |ort CPic|Version;|
|00002060| 20 20 20 20 20 20 20 20 | 2f 2a 20 76 65 72 73 69 | |/* versi|
|00002070| 6f 6e 20 6f 66 20 74 68 | 69 73 20 50 49 43 54 20 |on of th|is PICT |
|00002080| 69 6e 66 6f 20 73 65 74 | 20 74 6f 20 2d 32 20 20 |info set| to -2 |
|00002090| 20 20 20 20 20 20 20 20 | 20 2a 2f 0d 20 20 20 20 | | */. |
|000020a0| 20 20 73 68 6f 72 74 20 | 72 65 73 65 72 76 65 64 | short |reserved|
|000020b0| 3b 20 20 20 20 20 20 20 | 20 20 20 20 2f 2a 20 66 |; | /* f|
|000020c0| 6f 72 20 66 75 74 75 72 | 65 20 65 78 70 61 6e 73 |or futur|e expans|
|000020d0| 69 6f 6e 20 73 65 74 20 | 74 6f 20 7a 65 72 6f 20 |ion set |to zero |
|000020e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 2a 2f 0d | | */.|
|000020f0| 20 20 20 20 20 20 6c 6f | 6e 67 20 72 65 73 65 72 | lo|ng reser|
|00002100| 76 65 64 3b 20 20 20 20 | 20 20 20 20 20 20 20 20 |ved; | |
|00002110| 2f 2a 20 66 6f 72 20 66 | 75 74 75 72 65 20 65 78 |/* for f|uture ex|
|00002120| 70 61 6e 73 69 6f 6e 20 | 73 65 74 20 74 6f 20 7a |pansion |set to z|
|00002130| 65 72 6f 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |ero | |
|00002140| 20 2a 2f 0d 20 20 20 20 | 20 20 20 20 7d 3b 0d 54 | */. | };.T|
|00002150| 68 65 20 6e 65 77 20 70 | 69 63 74 75 72 65 20 68 |he new p|icture h|
|00002160| 65 61 64 65 72 20 64 61 | 74 61 20 6c 6f 6f 6b 73 |eader da|ta looks|
|00002170| 20 6c 69 6b 65 20 74 68 | 65 20 66 6f 6c 6c 6f 77 | like th|e follow|
|00002180| 69 6e 67 3a 0d 53 69 7a | 65 20 69 6e 20 62 79 74 |ing:.Siz|e in byt|
|00002190| 65 73 09 4e 61 6d 65 09 | 44 65 73 63 72 69 70 74 |es.Name.|Descript|
|000021a0| 69 6f 6e 0d 09 32 09 70 | 69 63 53 69 7a 65 09 6c |ion..2.p|icSize.l|
|000021b0| 6f 77 20 77 6f 72 64 20 | 6f 66 20 70 69 63 74 75 |ow word |of pictu|
|000021c0| 72 65 20 73 69 7a 65 0d | 09 38 09 70 69 63 46 72 |re size.|.8.picFr|
|000021d0| 61 6d 65 09 62 6f 75 6e | 64 69 6e 67 20 62 6f 78 |ame.boun|ding box|
|000021e0| 20 61 74 20 37 32 20 64 | 70 69 0d 50 69 63 74 75 | at 72 d|pi.Pictu|
|000021f0| 72 65 20 48 65 61 64 65 | 72 0d 32 09 76 65 72 73 |re Heade|r.2.vers|
|00002200| 69 6f 6e 20 6f 70 09 76 | 65 72 73 69 6f 6e 20 6f |ion op.v|ersion o|
|00002210| 70 63 6f 64 65 20 3d 20 | 24 30 30 31 31 0d 32 09 |pcode = |$0011.2.|
|00002220| 76 65 72 73 69 6f 6e 09 | 76 65 72 73 69 6f 6e 20 |version.|version |
|00002230| 6e 75 6d 62 65 72 20 3d | 20 24 30 32 46 46 0d 32 |number =| $02FF.2|
|00002240| 09 48 65 61 64 65 72 20 | 6f 70 09 68 65 61 64 65 |.Header |op.heade|
|00002250| 72 20 6f 70 63 6f 64 65 | 20 20 3d 20 24 30 43 30 |r opcode| = $0C0|
|00002260| 30 0d 32 09 76 65 72 73 | 69 6f 6e 09 2d 32 20 66 |0.2.vers|ion.-2 f|
|00002270| 6f 72 20 50 49 43 54 73 | 20 63 72 65 61 74 65 64 |or PICTs| created|
|00002280| 20 77 69 74 68 20 5f 4f | 70 65 6e 43 50 69 63 74 | with _O|penCPict|
|00002290| 75 72 65 0d 32 09 72 65 | 73 65 72 76 65 64 0d 34 |ure.2.re|served.4|
|000022a0| 09 48 52 65 73 09 6e 61 | 74 69 76 65 20 68 6f 72 |.HRes.na|tive hor|
|000022b0| 69 7a 6f 6e 74 61 6c 20 | 72 65 73 6f 6c 75 74 69 |izontal |resoluti|
|000022c0| 6f 6e 20 28 46 69 78 65 | 64 29 0d 34 09 56 52 65 |on (Fixe|d).4.VRe|
|000022d0| 73 09 6e 61 74 69 76 65 | 20 76 65 72 74 69 63 61 |s.native| vertica|
|000022e0| 6c 20 72 65 73 6f 6c 75 | 74 69 6f 6e 20 28 46 69 |l resolu|tion (Fi|
|000022f0| 78 65 64 29 0d 38 09 53 | 72 63 52 65 63 74 09 6e |xed).8.S|rcRect.n|
|00002300| 61 74 69 76 65 20 73 6f | 75 72 63 65 20 72 65 63 |ative so|urce rec|
|00002310| 74 61 6e 67 6c 65 0d 34 | 09 72 65 73 65 72 76 65 |tangle.4|.reserve|
|00002320| 64 0d 54 68 65 20 66 6f | 6c 6c 6f 77 69 6e 67 20 |d.The fo|llowing |
|00002330| 69 73 20 61 20 73 61 6d | 70 6c 65 20 50 49 43 54 |is a sam|ple PICT|
|00002340| 20 63 72 65 61 74 65 64 | 20 77 69 74 68 20 5f 4f | created| with _O|
|00002350| 70 65 6e 43 50 69 63 74 | 75 72 65 3a 0d 20 20 20 |penCPict|ure:. |
|00002360| 20 30 30 20 34 38 20 20 | 20 20 20 20 20 20 20 20 | 00 48 | |
|00002370| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002380| 2f 2a 20 6c 6f 77 20 77 | 6f 72 64 20 6f 66 20 73 |/* low w|ord of s|
|00002390| 69 7a 65 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |ize | |
|000023a0| 20 2a 2f 0d 20 20 20 20 | 30 30 20 30 30 20 30 30 | */. |00 00 00|
|000023b0| 20 30 30 20 30 30 20 37 | 44 20 30 30 20 37 44 20 | 00 00 7|D 00 7D |
|000023c0| 20 20 20 20 20 20 20 2f | 2a 20 70 69 63 46 72 61 | /|* picFra|
|000023d0| 6d 65 20 61 74 20 37 32 | 20 64 70 69 20 20 20 20 |me at 72| dpi |
|000023e0| 20 20 20 20 20 20 20 20 | 2a 2f 0d 20 20 20 20 30 | |*/. 0|
|000023f0| 30 20 31 31 20 20 20 20 | 20 20 20 20 20 20 20 20 |0 11 | |
|00002400| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 2f 2a | | /*|
|00002410| 20 50 49 43 54 20 76 65 | 72 73 69 6f 6e 20 6f 70 | PICT ve|rsion op|
|00002420| 63 6f 64 65 20 20 20 20 | 20 20 20 20 20 20 20 2a |code | *|
|00002430| 2f 0d 20 20 20 20 30 32 | 20 46 46 20 20 20 20 20 |/. 02| FF |
|00002440| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002450| 20 20 20 20 20 2f 2a 20 | 76 65 72 73 69 6f 6e 20 | /* |version |
|00002460| 6e 75 6d 62 65 72 20 20 | 20 20 20 20 20 20 20 20 |number | |
|00002470| 20 20 20 20 20 20 2a 2f | 0d 20 20 20 20 30 43 20 | */|. 0C |
|00002480| 30 30 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |00 | |
|00002490| 20 20 20 20 20 20 20 20 | 20 20 20 20 2f 2a 20 50 | | /* P|
|000024a0| 49 43 54 20 68 65 61 64 | 65 72 20 4f 70 63 6f 64 |ICT head|er Opcod|
|000024b0| 65 20 20 20 20 20 20 20 | 20 20 20 20 20 2a 2f 0d |e | */.|
|000024c0| 20 20 20 20 46 46 20 46 | 45 20 20 20 20 20 20 20 | FF F|E |
|000024d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000024e0| 20 20 20 2f 2a 20 50 49 | 43 54 20 76 65 72 73 69 | /* PI|CT versi|
|000024f0| 6f 6e 20 2d 32 20 20 20 | 20 20 20 20 20 20 20 20 |on -2 | |
|00002500| 20 20 20 20 2a 2f 0d 20 | 20 20 20 30 30 20 30 30 | */. | 00 00|
|00002510| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002520| 20 20 20 20 20 20 20 20 | 20 20 2f 2a 20 72 65 73 | | /* res|
|00002530| 65 72 76 65 64 20 20 20 | 20 20 20 20 20 20 20 20 |erved | |
|00002540| 20 20 20 20 20 20 20 20 | 20 20 20 2a 2f 0d 20 20 | | */. |
|00002550| 20 20 30 31 20 32 30 20 | 30 30 20 30 30 20 20 20 | 01 20 |00 00 |
|00002560| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002570| 20 2f 2a 20 48 52 65 73 | 20 28 46 69 78 65 64 29 | /* HRes| (Fixed)|
|00002580| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002590| 20 20 2a 2f 0d 20 20 20 | 20 30 31 20 32 30 20 30 | */. | 01 20 0|
|000025a0| 30 20 30 30 20 20 20 20 | 20 20 20 20 20 20 20 20 |0 00 | |
|000025b0| 20 20 20 20 20 20 20 20 | 2f 2a 20 56 52 65 73 20 | |/* VRes |
|000025c0| 28 46 69 78 65 64 29 20 | 20 20 20 20 20 20 20 20 |(Fixed) | |
|000025d0| 20 20 20 20 20 20 20 20 | 20 2a 2f 0d 20 20 20 20 | | */. |
|000025e0| 30 30 20 30 30 20 30 30 | 20 30 30 20 30 31 20 46 |00 00 00| 00 01 F|
|000025f0| 34 20 30 31 20 46 34 20 | 20 20 20 20 20 20 20 2f |4 01 F4 | /|
|00002600| 2a 20 70 69 63 46 72 61 | 6d 65 20 61 74 20 6e 61 |* picFra|me at na|
|00002610| 74 69 76 65 20 72 65 73 | 6f 6c 75 74 69 6f 6e 20 |tive res|olution |
|00002620| 2a 2f 0d 20 20 20 20 30 | 30 20 30 30 20 30 30 20 |*/. 0|0 00 00 |
|00002630| 30 30 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |00 | |
|00002640| 20 20 20 20 20 20 2f 2a | 20 72 65 73 65 72 76 65 | /*| reserve|
|00002650| 64 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |d | |
|00002660| 20 20 20 20 20 20 20 2a | 2f 0d 20 20 20 20 2f 2a | *|/. /*|
|00002670| 20 70 69 63 74 75 72 65 | 20 64 61 74 61 20 66 6f | picture| data fo|
|00002680| 6c 6c 6f 77 73 20 20 20 | 20 20 20 20 20 20 20 20 |llows | |
|00002690| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000026a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 2a 2f | | */|
|000026b0| 0d 20 20 20 20 30 30 20 | 46 46 20 20 20 20 20 20 |. 00 |FF |
|000026c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000026d0| 20 20 20 20 2f 2a 20 65 | 6e 64 20 6f 66 20 70 69 | /* e|nd of pi|
|000026e0| 63 74 75 72 65 20 6f 70 | 63 6f 64 65 20 20 20 20 |cture op|code |
|000026f0| 20 20 20 20 20 2a 2f 0d | 52 61 6e 64 6f 6d 20 4e | */.|Random N|
|00002700| 6f 74 65 73 0d 46 6f 72 | 20 69 6e 66 6f 72 6d 61 |otes.For| informa|
|00002710| 74 69 6f 6e 20 6f 6e 20 | 62 75 67 20 66 69 78 65 |tion on |bug fixe|
|00002720| 73 20 69 6e 20 74 68 65 | 20 53 79 73 74 65 6d 20 |s in the| System |
|00002730| 53 6f 66 74 77 61 72 65 | 20 36 2e 30 2e 35 20 72 |Software| 6.0.5 r|
|00002740| 65 6c 65 61 73 65 20 6f | 66 20 33 32 2d 42 69 74 |elease o|f 32-Bit|
|00002750| 20 51 75 69 63 6b 44 72 | 61 77 20 28 76 65 72 73 | QuickDr|aw (vers|
|00002760| 69 6f 6e 20 31 2e 32 29 | 2c 20 70 6c 65 61 73 65 |ion 1.2)|, please|
|00002770| 20 72 65 66 65 72 20 74 | 6f 20 74 68 65 20 53 79 | refer t|o the Sy|
|00002780| 73 74 65 6d 20 53 6f 66 | 74 77 61 72 65 20 36 2e |stem Sof|tware 6.|
|00002790| 30 2e 35 20 43 68 61 6e | 67 65 20 48 69 73 74 6f |0.5 Chan|ge Histo|
|000027a0| 72 79 2c 20 77 68 69 63 | 68 20 69 73 20 61 76 61 |ry, whic|h is ava|
|000027b0| 69 6c 61 62 6c 65 20 6f | 6e 20 74 68 65 20 44 65 |ilable o|n the De|
|000027c0| 76 65 6c 6f 70 65 72 20 | 43 44 20 53 65 72 69 65 |veloper |CD Serie|
|000027d0| 73 2c 20 41 70 70 6c 65 | 4c 69 6e 6b 20 69 6e 20 |s, Apple|Link in |
|000027e0| 74 68 65 20 44 65 76 65 | 6c 6f 70 65 72 20 53 65 |the Deve|loper Se|
|000027f0| 72 76 69 63 65 73 20 42 | 75 6c 6c 65 74 69 6e 20 |rvices B|ulletin |
|00002800| 42 6f 61 72 64 20 28 44 | 65 76 65 6c 6f 70 65 72 |Board (D|eveloper|
|00002810| 20 53 65 72 76 69 63 65 | 73 3a 20 4d 61 63 69 6e | Service|s: Macin|
|00002820| 74 6f 73 68 20 44 65 76 | 65 6c 6f 70 65 72 20 54 |tosh Dev|eloper T|
|00002830| 65 63 68 6e 69 63 61 6c | 20 53 75 70 70 6f 72 74 |echnical| Support|
|00002840| 3a 20 53 79 73 74 65 6d | 20 53 6f 66 74 77 61 72 |: System| Softwar|
|00002850| 65 29 2c 20 61 6e 64 20 | 74 68 65 20 41 70 70 6c |e), and |the Appl|
|00002860| 65 20 46 54 50 20 73 69 | 74 65 20 6f 6e 20 74 68 |e FTP si|te on th|
|00002870| 65 20 49 6e 74 65 72 6e | 65 74 20 69 6e 20 74 68 |e Intern|et in th|
|00002880| 65 20 7e 66 74 70 2f 70 | 75 62 2f 64 74 73 2f 73 |e ~ftp/p|ub/dts/s|
|00002890| 77 2e 6c 69 63 65 6e 73 | 65 2e 0d 4e 6f 74 65 20 |w.licens|e..Note |
|000028a0| 74 68 61 74 20 74 68 65 | 20 64 69 73 70 61 74 63 |that the| dispatc|
|000028b0| 68 69 6e 67 20 6d 65 63 | 68 61 6e 69 73 6d 20 66 |hing mec|hanism f|
|000028c0| 6f 72 20 74 68 65 20 6e | 65 77 20 5f 51 44 4f 66 |or the n|ew _QDOf|
|000028d0| 66 73 63 72 65 65 6e 20 | 63 61 6c 6c 73 20 69 73 |fscreen |calls is|
|000028e0| 20 73 6c 69 67 68 74 6c | 79 20 64 69 66 66 65 72 | slightl|y differ|
|000028f0| 65 6e 74 20 74 68 61 6e | 20 70 72 65 76 69 6f 75 |ent than| previou|
|00002900| 73 6c 79 20 64 6f 63 75 | 6d 65 6e 74 65 64 3b 20 |sly docu|mented; |
|00002910| 69 74 20 6e 6f 77 20 72 | 65 71 75 69 72 65 73 20 |it now r|equires |
|00002920| 74 68 61 74 20 74 68 65 | 20 68 69 67 68 20 77 6f |that the| high wo|
|00002930| 72 64 20 70 61 73 73 65 | 64 20 69 6e 20 44 30 20 |rd passe|d in D0 |
|00002940| 63 6f 6e 74 61 69 6e 20 | 74 68 65 20 74 6f 74 61 |contain |the tota|
|00002950| 6c 20 6c 65 6e 67 74 68 | 20 6f 66 20 74 68 65 20 |l length| of the |
|00002960| 70 61 72 61 6d 65 74 65 | 72 73 20 28 69 6e 20 62 |paramete|rs (in b|
|00002970| 79 74 65 73 29 2e 20 20 | 54 68 65 20 72 65 61 73 |ytes). |The reas|
|00002980| 6f 6e 20 66 6f 72 20 74 | 68 69 73 20 63 68 61 6e |on for t|his chan|
|00002990| 67 65 20 69 73 20 74 68 | 61 74 20 69 66 20 74 68 |ge is th|at if th|
|000029a0| 65 20 63 61 6c 6c 20 69 | 73 20 6d 61 64 65 20 69 |e call i|s made i|
|000029b0| 6e 20 61 6e 20 65 61 72 | 6c 69 65 72 20 76 65 72 |n an ear|lier ver|
|000029c0| 73 69 6f 6e 20 6f 66 20 | 33 32 2d 42 69 74 20 51 |sion of |32-Bit Q|
|000029d0| 75 69 63 6b 44 72 61 77 | 2c 20 74 68 65 20 73 79 |uickDraw|, the sy|
|000029e0| 73 74 65 6d 20 63 61 6e | 20 73 74 72 69 70 20 74 |stem can| strip t|
|000029f0| 68 65 20 70 61 72 61 6d | 65 74 65 72 73 20 66 72 |he param|eters fr|
|00002a00| 6f 6d 20 74 68 65 20 73 | 74 61 63 6b 20 61 6e 64 |om the s|tack and|
|00002a10| 20 72 65 74 75 72 6e 20 | 51 44 45 72 72 6f 72 20 | return |QDError |
|00002a20| 73 65 74 20 74 6f 20 74 | 68 65 20 63 61 6c 6c 65 |set to t|he calle|
|00002a30| 72 20 28 69 6e 73 74 65 | 61 64 20 6f 66 20 63 72 |r (inste|ad of cr|
|00002a40| 61 73 68 69 6e 67 29 2e | 0d 46 75 72 74 68 65 72 |ashing).|.Further|
|00002a50| 20 52 65 66 65 72 65 6e | 63 65 3a 0d a5 09 49 6e | Referen|ce:...In|
|00002a60| 73 69 64 65 20 4d 61 63 | 69 6e 74 6f 73 68 2c 20 |side Mac|intosh, |
|00002a70| 56 6f 6c 75 6d 65 20 56 | 2c 20 43 6f 6c 6f 72 20 |Volume V|, Color |
|00002a80| 51 75 69 63 6b 44 72 61 | 77 0d a5 09 33 32 2d 42 |QuickDra|w...32-B|
|00002a90| 69 74 20 51 75 69 63 6b | 44 72 61 77 20 52 65 6c |it Quick|Draw Rel|
|00002aa0| 65 61 73 65 20 4e 6f 74 | 65 73 20 28 61 76 61 69 |ease Not|es (avai|
|00002ab0| 6c 61 62 6c 65 20 66 72 | 6f 6d 20 41 50 44 41 29 |lable fr|om APDA)|
|00002ac0| 0d a5 09 53 79 73 74 65 | 6d 20 53 6f 66 74 77 61 |...Syste|m Softwa|
|00002ad0| 72 65 20 36 2e 30 2e 35 | 20 43 68 61 6e 67 65 20 |re 6.0.5| Change |
|00002ae0| 48 69 73 74 6f 72 79 0d | a5 09 64 20 65 20 76 20 |History.|..d e v |
|00002af0| 65 20 6c 20 6f 20 70 2c | 20 49 73 73 75 65 20 49 |e l o p,| Issue I|
|00002b00| 0d 4e 75 42 75 73 20 69 | 73 20 61 20 74 72 61 64 |.NuBus i|s a trad|
|00002b10| 65 6d 61 72 6b 20 6f 66 | 20 54 65 78 61 73 20 49 |emark of| Texas I|
|00002b20| 6e 73 74 72 75 6d 65 6e | 74 73 2e 0d 42 61 73 69 |nstrumen|ts..Basi|
|00002b30| 63 20 51 75 69 63 6b 44 | 72 61 77 20 51 26 41 73 |c QuickD|raw Q&As|
|00002b40| 0d 49 6d 61 67 69 6e 67 | 09 4d 2e 49 4d 2e 42 61 |.Imaging|.M.IM.Ba|
|00002b50| 73 69 63 51 44 2e 51 26 | 41 73 0d 52 65 76 69 73 |sicQD.Q&|As.Revis|
|00002b60| 65 64 20 62 79 3a 09 44 | 65 76 65 6c 6f 70 65 72 |ed by:.D|eveloper|
|00002b70| 20 53 75 70 70 6f 72 74 | 20 43 65 6e 74 65 72 09 | Support| Center.|
|00002b80| 4f 63 74 6f 62 65 72 20 | 31 39 39 32 0d 57 72 69 |October |1992.Wri|
|00002b90| 74 74 65 6e 20 62 79 3a | 09 44 65 76 65 6c 6f 70 |tten by:|.Develop|
|00002ba0| 65 72 20 53 75 70 70 6f | 72 74 20 43 65 6e 74 65 |er Suppo|rt Cente|
|00002bb0| 72 09 4f 63 74 6f 62 65 | 72 20 31 39 39 30 0d 54 |r.Octobe|r 1990.T|
|00002bc0| 68 69 73 20 54 65 63 68 | 6e 69 63 61 6c 20 4e 6f |his Tech|nical No|
|00002bd0| 74 65 20 63 6f 6e 74 61 | 69 6e 73 20 61 20 63 6f |te conta|ins a co|
|00002be0| 6c 6c 65 63 74 69 6f 6e | 20 6f 66 20 51 26 41 73 |llection| of Q&As|
|00002bf0| 20 72 65 6c 61 74 69 6e | 67 20 74 6f 20 61 20 73 | relatin|g to a s|
|00002c00| 70 65 63 69 66 69 63 20 | 74 6f 70 69 63 d1 71 75 |pecific |topic.qu|
|00002c10| 65 73 74 69 6f 6e 73 20 | 79 6f 75 d5 76 65 20 73 |estions |you.ve s|
|00002c20| 65 6e 74 20 74 68 65 20 | 44 65 76 65 6c 6f 70 65 |ent the |Develope|
|00002c30| 72 20 53 75 70 70 6f 72 | 74 20 43 65 6e 74 65 72 |r Suppor|t Center|
|00002c40| 20 28 44 53 43 29 20 61 | 6c 6f 6e 67 20 77 69 74 | (DSC) a|long wit|
|00002c50| 68 20 61 6e 73 77 65 72 | 73 20 66 72 6f 6d 20 74 |h answer|s from t|
|00002c60| 68 65 20 44 53 43 20 65 | 6e 67 69 6e 65 65 72 73 |he DSC e|ngineers|
|00002c70| 2e 20 57 68 69 6c 65 20 | 44 53 43 20 65 6e 67 69 |. While |DSC engi|
|00002c80| 6e 65 65 72 73 20 68 61 | 76 65 20 63 68 65 63 6b |neers ha|ve check|
|00002c90| 65 64 20 74 68 65 20 51 | 26 41 20 63 6f 6e 74 65 |ed the Q|&A conte|
|00002ca0| 6e 74 20 66 6f 72 20 61 | 63 63 75 72 61 63 79 2c |nt for a|ccuracy,|
|00002cb0| 20 74 68 65 20 51 26 41 | 20 54 65 63 68 6e 69 63 | the Q&A| Technic|
|00002cc0| 61 6c 20 4e 6f 74 65 73 | 20 64 6f 6e d5 74 20 68 |al Notes| don.t h|
|00002cd0| 61 76 65 20 74 68 65 20 | 65 64 69 74 69 6e 67 20 |ave the |editing |
|00002ce0| 61 6e 64 20 6f 72 67 61 | 6e 69 7a 61 74 69 6f 6e |and orga|nization|
|00002cf0| 20 6f 66 20 6f 74 68 65 | 72 20 54 65 63 68 6e 69 | of othe|r Techni|
|00002d00| 63 61 6c 20 4e 6f 74 65 | 73 2e 20 54 68 65 20 51 |cal Note|s. The Q|
|00002d10| 26 41 20 66 75 6e 63 74 | 69 6f 6e 20 69 73 20 74 |&A funct|ion is t|
|00002d20| 6f 20 67 65 74 20 6e 65 | 77 20 74 65 63 68 6e 69 |o get ne|w techni|
|00002d30| 63 61 6c 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 20 |cal info|rmation |
|00002d40| 61 6e 64 20 75 70 64 61 | 74 65 73 20 74 6f 20 79 |and upda|tes to y|
|00002d50| 6f 75 20 71 75 69 63 6b | 6c 79 2c 20 73 61 76 69 |ou quick|ly, savi|
|00002d60| 6e 67 20 74 68 65 20 70 | 6f 6c 69 73 68 20 66 6f |ng the p|olish fo|
|00002d70| 72 20 77 68 65 6e 20 74 | 68 65 20 69 6e 66 6f 72 |r when t|he infor|
|00002d80| 6d 61 74 69 6f 6e 20 6d | 69 67 72 61 74 65 73 20 |mation m|igrates |
|00002d90| 69 6e 74 6f 20 72 65 66 | 65 72 65 6e 63 65 20 6d |into ref|erence m|
|00002da0| 61 6e 75 61 6c 73 2e 0d | 51 26 41 73 20 61 72 65 |anuals..|Q&As are|
|00002db0| 20 6e 6f 77 20 69 6e 63 | 6c 75 64 65 64 20 77 69 | now inc|luded wi|
|00002dc0| 74 68 20 54 65 63 68 6e | 69 63 61 6c 20 4e 6f 74 |th Techn|ical Not|
|00002dd0| 65 73 20 74 6f 20 6d 61 | 6b 65 20 61 63 63 65 73 |es to ma|ke acces|
|00002de0| 73 20 74 6f 20 74 65 63 | 68 6e 69 63 61 6c 20 75 |s to tec|hnical u|
|00002df0| 70 64 61 74 65 73 20 65 | 61 73 69 65 72 20 66 6f |pdates e|asier fo|
|00002e00| 72 20 79 6f 75 2e 20 49 | 66 20 79 6f 75 20 68 61 |r you. I|f you ha|
|00002e10| 76 65 20 63 6f 6d 6d 65 | 6e 74 73 20 6f 72 20 73 |ve comme|nts or s|
|00002e20| 75 67 67 65 73 74 69 6f | 6e 73 20 61 62 6f 75 74 |uggestio|ns about|
|00002e30| 20 51 26 41 20 63 6f 6e | 74 65 6e 74 20 6f 72 20 | Q&A con|tent or |
|00002e40| 64 69 73 74 72 69 62 75 | 74 69 6f 6e 2c 20 70 6c |distribu|tion, pl|
|00002e50| 65 61 73 65 20 6c 65 74 | 20 75 73 20 6b 6e 6f 77 |ease let| us know|
|00002e60| 20 62 79 20 73 65 6e 64 | 69 6e 67 20 61 6e 20 41 | by send|ing an A|
|00002e70| 70 70 6c 65 4c 69 6e 6b | 20 74 6f 20 44 45 56 46 |ppleLink| to DEVF|
|00002e80| 45 45 44 42 41 43 4b 2e | 20 41 70 70 6c 65 20 50 |EEDBACK.| Apple P|
|00002e90| 61 72 74 6e 65 72 73 20 | 6d 61 79 20 73 65 6e 64 |artners |may send|
|00002ea0| 20 74 65 63 68 6e 69 63 | 61 6c 20 71 75 65 73 74 | technic|al quest|
|00002eb0| 69 6f 6e 73 20 61 62 6f | 75 74 20 51 26 41 20 63 |ions abo|ut Q&A c|
|00002ec0| 6f 6e 74 65 6e 74 20 74 | 6f 20 44 45 56 53 55 50 |ontent t|o DEVSUP|
|00002ed0| 50 4f 52 54 20 66 6f 72 | 20 72 65 73 6f 6c 75 74 |PORT for| resolut|
|00002ee0| 69 6f 6e 2e 0d 4e 65 77 | 20 51 26 41 73 20 61 6e |ion..New| Q&As an|
|00002ef0| 64 20 51 26 41 73 20 72 | 65 76 69 73 65 64 20 74 |d Q&As r|evised t|
|00002f00| 68 69 73 20 6d 6f 6e 74 | 68 20 61 72 65 20 6d 61 |his mont|h are ma|
|00002f10| 72 6b 65 64 20 77 69 74 | 68 20 61 20 62 61 72 20 |rked wit|h a bar |
|00002f20| 69 6e 20 74 68 65 20 73 | 69 64 65 20 6d 61 72 67 |in the s|ide marg|
|00002f30| 69 6e 2e 0d 53 65 6e 64 | 69 6e 67 20 50 6f 73 74 |in..Send|ing Post|
|00002f40| 53 63 72 69 70 74 20 76 | 69 61 20 50 6f 73 74 53 |Script v|ia PostS|
|00002f50| 63 72 69 70 74 48 61 6e | 64 6c 65 20 50 69 63 43 |criptHan|dle PicC|
|00002f60| 6f 6d 6d 65 6e 74 0d 57 | 72 69 74 74 65 6e 3a 09 |omment.W|ritten:.|
|00002f70| 35 2f 31 2f 39 30 0d 4c | 61 73 74 20 72 65 76 69 |5/1/90.L|ast revi|
|00002f80| 65 77 65 64 3a 09 31 30 | 2f 39 2f 39 31 0d 49 66 |ewed:.10|/9/91.If|
|00002f90| 20 49 20 75 73 65 20 74 | 68 65 20 50 6f 73 74 53 | I use t|he PostS|
|00002fa0| 63 72 69 70 74 48 61 6e | 64 6c 65 20 50 69 63 43 |criptHan|dle PicC|
|00002fb0| 6f 6d 6d 65 6e 74 20 74 | 6f 20 73 65 6e 64 20 50 |omment t|o send P|
|00002fc0| 6f 73 74 53 63 72 69 70 | 74 20 63 6f 64 65 20 74 |ostScrip|t code t|
|00002fd0| 6f 20 74 68 65 20 4c 61 | 73 65 72 57 72 69 74 65 |o the La|serWrite|
|00002fe0| 72 20 64 72 69 76 65 72 | 2c 20 64 6f 20 49 20 6e |r driver|, do I n|
|00002ff0| 65 65 64 20 74 6f 20 6f | 70 65 6e 20 61 20 70 69 |eed to o|pen a pi|
|00003000| 63 74 75 72 65 20 61 6e | 64 20 74 68 65 6e 20 64 |cture an|d then d|
|00003010| 72 61 77 20 74 68 65 20 | 70 69 63 74 75 72 65 20 |raw the |picture |
|00003020| 74 6f 20 74 68 65 20 64 | 72 69 76 65 72 2c 20 6f |to the d|river, o|
|00003030| 72 20 63 61 6e 20 49 20 | 6a 75 73 74 20 75 73 65 |r can I |just use|
|00003040| 20 74 68 65 20 50 69 63 | 43 6f 6d 6d 65 6e 74 20 | the Pic|Comment |
|00003050| 77 69 74 68 20 6e 6f 20 | 70 69 63 74 75 72 65 20 |with no |picture |
|00003060| 6f 70 65 6e 20 77 68 69 | 6c 65 20 64 72 61 77 69 |open whi|le drawi|
|00003070| 6e 67 20 74 6f 20 74 68 | 65 20 70 72 69 6e 74 65 |ng to th|e printe|
|00003080| 72 d5 73 20 67 72 61 66 | 50 6f 72 74 3f 0d 5f 5f |r.s graf|Port?.__|
|00003090| 5f 0d 59 6f 75 20 64 6f | 6e d5 74 20 6e 65 65 64 |_.You do|n.t need|
|000030a0| 20 74 6f 20 63 72 65 61 | 74 65 20 61 20 70 69 63 | to crea|te a pic|
|000030b0| 74 75 72 65 20 77 69 74 | 68 20 79 6f 75 72 20 50 |ture wit|h your P|
|000030c0| 69 63 43 6f 6d 6d 65 6e | 74 20 69 6e 20 69 74 20 |icCommen|t in it |
|000030d0| 61 6e 64 20 64 72 61 77 | 20 74 68 65 20 70 69 63 |and draw| the pic|
|000030e0| 74 75 72 65 20 74 6f 20 | 74 68 65 20 64 72 69 76 |ture to |the driv|
|000030f0| 65 72 2e 20 54 68 65 20 | 62 65 73 74 20 6d 65 74 |er. The |best met|
|00003100| 68 6f 64 20 66 6f 72 20 | 73 65 6e 64 69 6e 67 20 |hod for |sending |
|00003110| 50 6f 73 74 53 63 72 69 | 70 74 20 63 6f 64 65 20 |PostScri|pt code |
|00003120| 74 6f 20 74 68 65 20 4c | 61 73 65 72 57 72 69 74 |to the L|aserWrit|
|00003130| 65 72 20 69 73 20 74 6f | 20 75 73 65 20 74 68 65 |er is to| use the|
|00003140| 20 50 6f 73 74 53 63 72 | 69 70 74 48 61 6e 64 6c | PostScr|iptHandl|
|00003150| 65 20 50 69 63 43 6f 6d | 6d 65 6e 74 20 64 6f 63 |e PicCom|ment doc|
|00003160| 75 6d 65 6e 74 65 64 20 | 69 6e 20 74 68 65 20 4d |umented |in the M|
|00003170| 61 63 69 6e 74 6f 73 68 | 20 54 65 63 68 6e 69 63 |acintosh| Technic|
|00003180| 61 6c 20 4e 6f 74 65 20 | 23 39 31 2c 20 d2 4f 70 |al Note |#91, .Op|
|00003190| 74 69 6d 69 7a 69 6e 67 | 20 66 6f 72 20 74 68 65 |timizing| for the|
|000031a0| 20 4c 61 73 65 72 57 72 | 69 74 65 72 d1 50 69 63 | LaserWr|iter.Pic|
|000031b0| 74 75 72 65 20 43 6f 6d | 6d 65 6e 74 73 2c d3 20 |ture Com|ments,. |
|000031c0| 61 73 20 73 68 6f 77 6e | 20 62 65 6c 6f 77 2e 0d |as shown| below..|
|000031d0| 50 72 4f 70 65 6e 50 61 | 67 65 28 2e 2e 2e 29 0d |PrOpenPa|ge(...).|
|000031e0| 7b 20 53 65 6e 64 20 73 | 6f 6d 65 20 51 75 69 63 |{ Send s|ome Quic|
|000031f0| 6b 44 72 61 77 20 73 6f | 20 74 68 61 74 20 74 68 |kDraw so| that th|
|00003200| 65 20 50 72 69 6e 74 69 | 6e 67 20 4d 61 6e 61 67 |e Printi|ng Manag|
|00003210| 65 72 20 67 65 74 73 20 | 61 20 7d 0d 7b 20 63 68 |er gets |a }.{ ch|
|00003220| 61 6e 63 65 20 74 6f 20 | 64 65 66 69 6e 65 20 74 |ance to |define t|
|00003230| 68 65 20 63 6c 69 70 70 | 69 6e 67 20 72 65 67 69 |he clipp|ing regi|
|00003240| 6f 6e 2e 20 7d 0d 50 65 | 6e 53 69 7a 65 28 30 2c |on. }.Pe|nSize(0,|
|00003250| 30 29 3b 20 0d 4d 6f 76 | 65 54 6f 28 30 2c 30 29 |0); .Mov|eTo(0,0)|
|00003260| 3b 0d 4c 69 6e 65 54 6f | 28 30 2c 30 29 3b 20 0d |;.LineTo|(0,0); .|
|00003270| 50 65 6e 53 69 7a 65 28 | 31 2c 31 29 3b 20 0d 50 |PenSize(|1,1); .P|
|00003280| 69 63 43 6f 6d 6d 65 6e | 74 28 50 6f 73 74 53 63 |icCommen|t(PostSc|
|00003290| 72 69 70 74 42 65 67 69 | 6e 2c 20 30 2c 20 4e 49 |riptBegi|n, 0, NI|
|000032a0| 4c 29 3b 0d 7b 20 51 75 | 69 63 6b 44 72 61 77 20 |L);.{ Qu|ickDraw |
|000032b0| 72 65 70 72 65 73 65 6e | 74 61 74 69 6f 6e 20 6f |represen|tation o|
|000032c0| 66 20 67 72 61 70 68 69 | 63 2e 20 7d 0d 4d 6f 76 |f graphi|c. }.Mov|
|000032d0| 65 54 6f 28 31 30 30 2c | 20 31 30 30 29 3b 0d 4c |eTo(100,| 100);.L|
|000032e0| 69 6e 65 54 6f 28 32 30 | 30 2c 20 32 30 30 29 3b |ineTo(20|0, 200);|
|000032f0| 0d 7b 20 50 6f 73 74 53 | 63 72 69 70 74 20 72 65 |.{ PostS|cript re|
|00003300| 70 72 65 73 65 6e 74 61 | 74 69 6f 6e 20 6f 66 20 |presenta|tion of |
|00003310| 67 72 61 70 68 69 63 2e | 20 7d 0d 74 68 65 50 53 |graphic.| }.thePS|
|00003320| 48 61 6e 64 6c 65 5e 5e | 20 3a 3d 20 27 31 30 30 |Handle^^| := '100|
|00003330| 20 31 30 30 20 6d 6f 76 | 65 74 6f 20 32 30 30 20 | 100 mov|eto 200 |
|00003340| 32 30 30 20 6c 69 6e 65 | 74 6f 20 73 74 72 6f 6b |200 line|to strok|
|00003350| 65 27 3b 0d 50 69 63 43 | 6f 6d 6d 65 6e 74 28 50 |e';.PicC|omment(P|
|00003360| 6f 73 74 53 63 72 69 70 | 74 48 61 6e 64 6c 65 2c |ostScrip|tHandle,|
|00003370| 20 47 65 74 48 61 6e 64 | 6c 65 53 69 7a 65 28 74 | GetHand|leSize(t|
|00003380| 68 65 50 53 48 61 6e 64 | 6c 65 29 2c 0d 20 20 20 |hePSHand|le),. |
|00003390| 20 20 20 20 20 20 20 20 | 20 20 20 74 68 65 50 53 | | thePS|
|000033a0| 48 61 6e 64 6c 29 3b 0d | 50 69 63 43 6f 6d 6d 65 |Handl);.|PicComme|
|000033b0| 6e 74 28 50 6f 73 74 53 | 63 72 69 70 74 45 6e 64 |nt(PostS|criptEnd|
|000033c0| 2c 20 30 2c 20 4e 49 4c | 29 3b 0d 50 72 43 6c 6f |, 0, NIL|);.PrClo|
|000033d0| 73 65 50 61 67 65 28 2e | 2e 2e 29 0d 54 68 65 20 |sePage(.|..).The |
|000033e0| 61 62 6f 76 65 20 63 6f | 64 65 20 70 72 69 6e 74 |above co|de print|
|000033f0| 73 20 61 20 6c 69 6e 65 | 20 6f 6e 20 61 6e 79 20 |s a line| on any |
|00003400| 74 79 70 65 20 6f 66 20 | 70 72 69 6e 74 65 72 2c |type of |printer,|
|00003410| 20 50 6f 73 74 53 63 72 | 69 70 74 20 6f 72 20 6e | PostScr|ipt or n|
|00003420| 6f 74 2e 20 54 68 65 20 | 66 69 72 73 74 20 4d 6f |ot. The |first Mo|
|00003430| 76 65 54 6f 2f 4c 69 6e | 65 54 6f 20 63 6f 6d 62 |veTo/Lin|eTo comb|
|00003440| 69 6e 61 74 69 6f 6e 20 | 69 73 20 72 65 71 75 69 |ination |is requi|
|00003450| 72 65 64 20 74 6f 20 67 | 69 76 65 20 74 68 65 20 |red to g|ive the |
|00003460| 4c 61 73 65 72 57 72 69 | 74 65 72 20 64 72 69 76 |LaserWri|ter driv|
|00003470| 65 72 20 61 20 63 68 61 | 6e 63 65 20 74 6f 20 64 |er a cha|nce to d|
|00003480| 65 66 69 6e 65 20 61 20 | 63 6c 69 70 70 69 6e 67 |efine a |clipping|
|00003490| 20 72 65 67 69 6f 6e 2e | 20 54 68 65 20 4c 61 73 | region.| The Las|
|000034a0| 65 72 57 72 69 74 65 72 | 20 64 72 69 76 65 72 20 |erWriter| driver |
|000034b0| 72 65 70 6c 61 63 65 73 | 20 74 68 65 20 67 72 61 |replaces| the gra|
|000034c0| 66 50 72 6f 63 73 20 72 | 65 63 6f 72 64 20 69 6e |fProcs r|ecord in|
|000034d0| 20 74 68 65 20 67 72 61 | 66 50 6f 72 74 20 72 65 | the gra|fPort re|
|000034e0| 74 75 72 6e 65 64 20 66 | 72 6f 6d 20 50 72 4f 70 |turned f|rom PrOp|
|000034f0| 65 6e 44 6f 63 2e 20 49 | 6e 20 6f 72 64 65 72 20 |enDoc. I|n order |
|00003500| 66 6f 72 20 74 68 65 20 | 4c 61 73 65 72 57 72 69 |for the |LaserWri|
|00003510| 74 65 72 20 64 72 69 76 | 65 72 20 74 6f 20 67 65 |ter driv|er to ge|
|00003520| 74 20 65 78 65 63 75 74 | 69 6f 6e 20 74 69 6d 65 |t execut|ion time|
|00003530| 2c 20 79 6f 75 20 6d 75 | 73 74 20 65 78 65 63 75 |, you mu|st execu|
|00003540| 74 65 20 61 20 51 75 69 | 63 6b 44 72 61 77 20 64 |te a Qui|ckDraw d|
|00003550| 72 61 77 69 6e 67 20 72 | 6f 75 74 69 6e 65 20 74 |rawing r|outine t|
|00003560| 68 61 74 20 63 61 6c 6c | 73 20 6f 6e 65 20 6f 66 |hat call|s one of|
|00003570| 20 74 68 65 20 67 72 61 | 66 50 72 6f 63 73 2e 20 | the gra|fProcs. |
|00003580| 49 6e 20 74 68 69 73 20 | 63 61 73 65 2c 20 74 68 |In this |case, th|
|00003590| 65 20 4d 6f 76 65 54 6f | 2f 4c 69 6e 65 54 6f 20 |e MoveTo|/LineTo |
|000035a0| 63 6f 6d 62 69 6e 61 74 | 69 6f 6e 20 63 61 6c 6c |combinat|ion call|
|000035b0| 73 20 74 68 65 20 53 74 | 64 4c 69 6e 65 20 67 72 |s the St|dLine gr|
|000035c0| 61 66 50 72 6f 63 2e 20 | 57 68 65 6e 20 53 74 64 |afProc. |When Std|
|000035d0| 4c 69 6e 65 20 65 78 65 | 63 75 74 65 73 2c 20 69 |Line exe|cutes, i|
|000035e0| 74 20 6e 6f 74 69 63 65 | 73 20 74 68 61 74 20 74 |t notice|s that t|
|000035f0| 68 65 20 67 72 61 66 50 | 6f 72 74 20 68 61 73 20 |he grafP|ort has |
|00003600| 62 65 65 6e 20 72 65 69 | 6e 69 74 69 61 6c 69 7a |been rei|nitializ|
|00003610| 65 64 2c 20 61 6e 64 20 | 74 68 65 72 65 66 6f 72 |ed, and |therefor|
|00003620| 65 20 69 6e 69 74 69 61 | 6c 69 7a 65 73 20 74 68 |e initia|lizes th|
|00003630| 65 20 63 6c 69 70 70 69 | 6e 67 20 72 65 67 69 6f |e clippi|ng regio|
|00003640| 6e 20 66 6f 72 20 74 68 | 65 20 70 6f 72 74 2e 20 |n for th|e port. |
|00003650| 55 6e 74 69 6c 20 74 68 | 65 20 4d 6f 76 65 54 6f |Until th|e MoveTo|
|00003660| 2f 4c 69 6e 65 54 6f 20 | 63 6f 6d 62 69 6e 61 74 |/LineTo |combinat|
|00003670| 69 6f 6e 20 69 73 20 65 | 78 65 63 75 74 65 64 2c |ion is e|xecuted,|
|00003680| 20 74 68 65 20 63 6c 69 | 70 70 69 6e 67 20 72 65 | the cli|pping re|
|00003690| 67 69 6f 6e 20 66 6f 72 | 20 74 68 65 20 70 6f 72 |gion for| the por|
|000036a0| 74 20 69 73 20 73 65 74 | 20 74 6f 20 28 30 2c 30 |t is set| to (0,0|
|000036b0| 2c 30 2c 30 29 2e 20 49 | 66 20 50 6f 73 74 53 63 |,0,0). I|f PostSc|
|000036c0| 72 69 70 74 20 63 6f 64 | 65 20 69 73 20 73 65 6e |ript cod|e is sen|
|000036d0| 74 20 76 69 61 20 74 68 | 65 20 50 6f 73 74 53 63 |t via th|e PostSc|
|000036e0| 72 69 70 74 48 61 6e 64 | 6c 65 20 50 69 63 43 6f |riptHand|le PicCo|
|000036f0| 6d 6d 65 6e 74 20 62 65 | 66 6f 72 65 20 65 78 65 |mment be|fore exe|
|00003700| 63 75 74 69 6e 67 20 61 | 6e 79 20 51 75 69 63 6b |cuting a|ny Quick|
|00003710| 44 72 61 77 20 72 6f 75 | 74 69 6e 65 73 2c 20 61 |Draw rou|tines, a|
|00003720| 6c 6c 20 50 6f 73 74 53 | 63 72 69 70 74 20 6f 70 |ll PostS|cript op|
|00003730| 65 72 61 74 69 6f 6e 73 | 20 77 69 6c 6c 20 62 65 |erations| will be|
|00003740| 20 63 6c 69 70 70 65 64 | 20 74 6f 20 28 30 2c 30 | clipped| to (0,0|
|00003750| 2c 30 2c 30 29 2e 0d 54 | 68 65 20 6e 65 78 74 20 |,0,0)..T|he next |
|00003760| 74 68 69 6e 67 20 74 68 | 61 74 d5 73 20 64 6f 6e |thing th|at.s don|
|00003770| 65 20 69 73 20 74 6f 20 | 73 65 6e 64 20 74 68 65 |e is to |send the|
|00003780| 20 50 6f 73 74 53 63 72 | 69 70 74 42 65 67 69 6e | PostScr|iptBegin|
|00003790| 20 50 69 63 43 6f 6d 6d | 65 6e 74 2e 20 54 68 69 | PicComm|ent. Thi|
|000037a0| 73 20 63 6f 6d 6d 65 6e | 74 20 69 73 20 72 65 63 |s commen|t is rec|
|000037b0| 6f 67 6e 69 7a 65 64 20 | 6f 6e 6c 79 20 62 79 20 |ognized |only by |
|000037c0| 50 6f 73 74 53 63 72 69 | 70 74 20 70 72 69 6e 74 |PostScri|pt print|
|000037d0| 65 72 20 64 72 69 76 65 | 72 73 2e 20 57 68 65 6e |er drive|rs. When|
|000037e0| 20 74 68 65 20 64 72 69 | 76 65 72 20 72 65 63 65 | the dri|ver rece|
|000037f0| 69 76 65 73 20 74 68 69 | 73 20 63 6f 6d 6d 65 6e |ives thi|s commen|
|00003800| 74 2c 20 69 74 20 73 61 | 76 65 73 20 74 68 65 20 |t, it sa|ves the |
|00003810| 63 75 72 72 65 6e 74 20 | 73 74 61 74 65 20 6f 66 |current |state of|
|00003820| 20 74 68 65 20 50 6f 73 | 74 53 63 72 69 70 74 20 | the Pos|tScript |
|00003830| 64 65 76 69 63 65 20 28 | 62 79 20 65 78 65 63 75 |device (|by execu|
|00003840| 74 69 6e 67 20 74 68 65 | 20 50 6f 73 74 53 63 72 |ting the| PostScr|
|00003850| 69 70 74 20 67 73 61 76 | 65 20 6f 70 65 72 61 74 |ipt gsav|e operat|
|00003860| 6f 72 29 2c 20 74 68 65 | 6e 20 64 69 73 61 62 6c |or), the|n disabl|
|00003870| 65 73 20 61 6c 6c 20 51 | 75 69 63 6b 44 72 61 77 |es all Q|uickDraw|
|00003880| 20 64 72 61 77 69 6e 67 | 20 6f 70 65 72 61 74 69 | drawing| operati|
|00003890| 6f 6e 73 2e 20 54 68 69 | 73 20 77 61 79 2c 20 74 |ons. Thi|s way, t|
|000038a0| 68 65 20 51 75 69 63 6b | 44 72 61 77 20 72 65 70 |he Quick|Draw rep|
|000038b0| 72 65 73 65 6e 74 61 74 | 69 6f 6e 20 6f 66 20 74 |resentat|ion of t|
|000038c0| 68 65 20 67 72 61 70 68 | 69 63 20 77 69 6c 6c 20 |he graph|ic will |
|000038d0| 62 65 20 69 67 6e 6f 72 | 65 64 20 62 79 20 50 6f |be ignor|ed by Po|
|000038e0| 73 74 53 63 72 69 70 74 | 20 64 65 76 69 63 65 73 |stScript| devices|
|000038f0| 2e 20 49 6e 20 74 68 65 | 20 61 62 6f 76 65 20 65 |. In the| above e|
|00003900| 78 61 6d 70 6c 65 2c 20 | 74 68 65 20 73 65 63 6f |xample, |the seco|
|00003910| 6e 64 20 4d 6f 76 65 54 | 6f 2f 4c 69 6e 65 54 6f |nd MoveT|o/LineTo|
|00003920| 20 63 6f 6d 62 69 6e 61 | 74 69 6f 6e 20 69 73 20 | combina|tion is |
|00003930| 65 78 65 63 75 74 65 64 | 20 6f 6e 6c 79 20 6f 6e |executed| only on|
|00003940| 20 6e 6f 6e 2d 50 6f 73 | 74 53 63 72 69 70 74 20 | non-Pos|tScript |
|00003950| 64 65 76 69 63 65 73 2e | 0d 54 68 65 20 6e 65 78 |devices.|.The nex|
|00003960| 74 20 50 69 63 43 6f 6d | 6d 65 6e 74 20 69 73 20 |t PicCom|ment is |
|00003970| 50 6f 73 74 53 63 72 69 | 70 74 48 61 6e 64 6c 65 |PostScri|ptHandle|
|00003980| 2c 20 77 68 69 63 68 20 | 74 65 6c 6c 73 20 74 68 |, which |tells th|
|00003990| 65 20 64 72 69 76 65 72 | 20 74 68 61 74 20 74 68 |e driver| that th|
|000039a0| 65 20 64 61 74 61 20 69 | 6e 20 74 68 65 50 53 48 |e data i|n thePSH|
|000039b0| 61 6e 64 6c 65 20 69 73 | 20 74 6f 20 62 65 20 73 |andle is| to be s|
|000039c0| 65 6e 74 20 74 6f 20 74 | 68 65 20 64 65 76 69 63 |ent to t|he devic|
|000039d0| 65 20 61 73 20 50 6f 73 | 74 53 63 72 69 70 74 20 |e as Pos|tScript |
|000039e0| 63 6f 64 65 2e 20 54 68 | 65 20 64 72 69 76 65 72 |code. Th|e driver|
|000039f0| 20 74 68 65 6e 20 70 61 | 73 73 65 73 20 74 68 69 | then pa|sses thi|
|00003a00| 73 20 63 6f 64 65 20 75 | 6e 63 68 61 6e 67 65 64 |s code u|nchanged|
|00003a10| 20 74 6f 20 74 68 65 20 | 50 6f 73 74 53 63 72 69 | to the |PostScri|
|00003a20| 70 74 20 64 65 76 69 63 | 65 20 66 6f 72 20 65 78 |pt devic|e for ex|
|00003a30| 65 63 75 74 69 6f 6e 2e | 20 54 68 65 20 50 6f 73 |ecution.| The Pos|
|00003a40| 74 53 63 72 69 70 74 48 | 61 6e 64 6c 65 20 63 6f |tScriptH|andle co|
|00003a50| 6d 6d 65 6e 74 20 69 73 | 20 72 65 63 6f 67 6e 69 |mment is| recogni|
|00003a60| 7a 65 64 20 6f 6e 6c 79 | 20 62 79 20 50 6f 73 74 |zed only| by Post|
|00003a70| 53 63 72 69 70 74 20 70 | 72 69 6e 74 65 72 20 64 |Script p|rinter d|
|00003a80| 72 69 76 65 72 73 2e 0d | 54 68 65 20 6c 61 73 74 |rivers..|The last|
|00003a90| 20 50 69 63 43 6f 6d 6d | 65 6e 74 2c 20 50 6f 73 | PicComm|ent, Pos|
|00003aa0| 74 53 63 72 69 70 74 45 | 6e 64 2c 20 74 65 6c 6c |tScriptE|nd, tell|
|00003ab0| 73 20 74 68 65 20 64 72 | 69 76 65 72 20 74 6f 20 |s the dr|iver to |
|00003ac0| 72 65 73 74 6f 72 65 20 | 74 68 65 20 70 72 65 76 |restore |the prev|
|00003ad0| 69 6f 75 73 20 73 74 61 | 74 65 20 6f 66 20 74 68 |ious sta|te of th|
|00003ae0| 65 20 64 65 76 69 63 65 | 20 28 76 69 61 20 61 20 |e device| (via a |
|00003af0| 50 6f 73 74 53 63 72 69 | 70 74 20 67 72 65 73 74 |PostScri|pt grest|
|00003b00| 6f 72 65 20 63 61 6c 6c | 29 2c 20 61 6e 64 20 74 |ore call|), and t|
|00003b10| 6f 20 65 6e 61 62 6c 65 | 20 51 75 69 63 6b 44 72 |o enable| QuickDr|
|00003b20| 61 77 20 64 72 61 77 69 | 6e 67 20 6f 70 65 72 61 |aw drawi|ng opera|
|00003b30| 74 69 6f 6e 73 2e 0d 53 | 69 6e 63 65 20 6d 6f 73 |tions..S|ince mos|
|00003b40| 74 20 50 69 63 43 6f 6d | 6d 65 6e 74 73 20 61 72 |t PicCom|ments ar|
|00003b50| 65 20 69 67 6e 6f 72 65 | 64 20 62 79 20 51 75 69 |e ignore|d by Qui|
|00003b60| 63 6b 44 72 61 77 20 64 | 65 76 69 63 65 73 2c 20 |ckDraw d|evices, |
|00003b70| 6f 6e 6c 79 20 74 68 65 | 20 51 75 69 63 6b 44 72 |only the| QuickDr|
|00003b80| 61 77 20 72 65 70 72 65 | 73 65 6e 74 61 74 69 6f |aw repre|sentatio|
|00003b90| 6e 20 69 73 20 70 72 69 | 6e 74 65 64 2e 20 53 69 |n is pri|nted. Si|
|00003ba0| 6e 63 65 20 50 6f 73 74 | 53 63 72 69 70 74 42 65 |nce Post|ScriptBe|
|00003bb0| 67 69 6e 20 74 65 6c 6c | 73 20 50 6f 73 74 53 63 |gin tell|s PostSc|
|00003bc0| 72 69 70 74 20 64 72 69 | 76 65 72 73 20 74 6f 20 |ript dri|vers to |
|00003bd0| 69 67 6e 6f 72 65 20 51 | 75 69 63 6b 44 72 61 77 |ignore Q|uickDraw|
|00003be0| 20 6f 70 65 72 61 74 69 | 6f 6e 73 2c 20 6f 6e 6c | operati|ons, onl|
|00003bf0| 79 20 74 68 65 20 50 6f | 73 74 53 63 72 69 70 74 |y the Po|stScript|
|00003c00| 20 72 65 70 72 65 73 65 | 6e 74 61 74 69 6f 6e 20 | represe|ntation |
|00003c10| 69 73 20 70 72 69 6e 74 | 65 64 20 6f 6e 20 50 6f |is print|ed on Po|
|00003c20| 73 74 53 63 72 69 70 74 | 20 64 65 76 69 63 65 73 |stScript| devices|
|00003c30| 2e 20 54 68 69 73 20 69 | 73 20 61 20 74 72 75 6c |. This i|s a trul|
|00003c40| 79 20 64 65 76 69 63 65 | 2d 69 6e 64 65 70 65 6e |y device|-indepen|
|00003c50| 64 65 6e 74 20 6d 65 74 | 68 6f 64 20 66 6f 72 20 |dent met|hod for |
|00003c60| 70 72 6f 76 69 64 69 6e | 67 20 62 6f 74 68 20 50 |providin|g both P|
|00003c70| 6f 73 74 53 63 72 69 70 | 74 20 61 6e 64 20 51 75 |ostScrip|t and Qu|
|00003c80| 69 63 6b 44 72 61 77 20 | 72 65 70 72 65 73 65 6e |ickDraw |represen|
|00003c90| 74 61 74 69 6f 6e 73 20 | 6f 66 20 61 20 64 6f 63 |tations |of a doc|
|00003ca0| 75 6d 65 6e 74 2e 0d 4d | 61 63 69 6e 74 6f 73 68 |ument..M|acintosh|
|00003cb0| 20 50 49 43 54 2d 74 6f | 2d 50 6f 73 74 53 63 72 | PICT-to|-PostScr|
|00003cc0| 69 70 74 20 63 6f 6e 76 | 65 72 73 69 6f 6e 0d 57 |ipt conv|ersion.W|
|00003cd0| 72 69 74 74 65 6e 3a 09 | 38 2f 33 2f 39 30 0d 4c |ritten:.|8/3/90.L|
|00003ce0| 61 73 74 20 72 65 76 69 | 65 77 65 64 3a 09 31 30 |ast revi|ewed:.10|
|00003cf0| 2f 38 2f 39 31 0d 48 6f | 77 20 64 6f 20 49 20 63 |/8/91.Ho|w do I c|
|00003d00| 6f 6e 76 65 72 74 20 50 | 49 43 54 20 66 6f 72 6d |onvert P|ICT form|
|00003d10| 61 74 20 64 61 74 61 20 | 74 6f 20 50 6f 73 74 53 |at data |to PostS|
|00003d20| 63 72 69 70 74 20 69 6e | 20 6d 79 20 70 72 69 6e |cript in| my prin|
|00003d30| 74 65 72 20 64 72 69 76 | 65 72 3f 0d 5f 5f 5f 0d |ter driv|er?.___.|
|00003d40| 43 6f 6e 76 65 72 74 69 | 6e 67 20 50 49 43 54 20 |Converti|ng PICT |
|00003d50| 66 69 6c 65 73 20 74 6f | 20 50 6f 73 74 53 63 72 |files to| PostScr|
|00003d60| 69 70 74 20 69 6e 76 6f | 6c 76 65 73 20 61 20 64 |ipt invo|lves a d|
|00003d70| 65 74 61 69 6c 65 64 20 | 75 6e 64 65 72 73 74 61 |etailed |understa|
|00003d80| 6e 64 69 6e 67 20 6f 66 | 20 62 6f 74 68 20 62 69 |nding of| both bi|
|00003d90| 74 6d 61 70 73 20 28 6f | 72 20 70 69 78 6d 61 70 |tmaps (o|r pixmap|
|00003da0| 73 29 20 61 6e 64 20 74 | 68 65 20 67 72 61 70 68 |s) and t|he graph|
|00003db0| 69 63 73 20 73 74 61 74 | 65 20 69 6e 20 50 6f 73 |ics stat|e in Pos|
|00003dc0| 74 53 63 72 69 70 74 2c | 20 77 68 69 63 68 20 69 |tScript,| which i|
|00003dd0| 73 20 61 20 64 61 74 61 | 20 73 74 72 75 63 74 75 |s a data| structu|
|00003de0| 72 65 20 64 65 66 69 6e | 69 6e 67 20 74 68 65 20 |re defin|ing the |
|00003df0| 63 6f 6e 74 65 78 74 20 | 69 6e 20 77 68 69 63 68 |context |in which|
|00003e00| 20 6f 74 68 65 72 20 67 | 72 61 70 68 69 63 20 6f | other g|raphic o|
|00003e10| 70 65 72 61 74 6f 72 73 | 20 69 6e 20 50 6f 73 74 |perators| in Post|
|00003e20| 53 63 72 69 70 74 20 65 | 78 65 63 75 74 65 2e 20 |Script e|xecute. |
|00003e30| 49 66 20 79 6f 75 20 64 | 6f 6e d5 74 20 6b 6e 6f |If you d|on.t kno|
|00003e40| 77 20 50 6f 73 74 53 63 | 72 69 70 74 2c 20 74 68 |w PostSc|ript, th|
|00003e50| 65 20 66 6f 6c 6c 6f 77 | 69 6e 67 20 6d 61 6e 75 |e follow|ing manu|
|00003e60| 61 6c 73 20 61 72 65 20 | 61 20 6d 75 73 74 3a 0d |als are |a must:.|
|00003e70| a5 20 50 6f 73 74 53 63 | 72 69 70 74 20 4c 61 6e |. PostSc|ript Lan|
|00003e80| 67 75 61 67 65 20 54 75 | 74 6f 72 69 61 6c 20 61 |guage Tu|torial a|
|00003e90| 6e 64 20 43 6f 6f 6b 62 | 6f 6f 6b 20 28 41 64 64 |nd Cookb|ook (Add|
|00003ea0| 69 73 6f 6e 2d 57 65 73 | 6c 65 79 29 20 69 73 20 |ison-Wes|ley) is |
|00003eb0| 61 6e 20 69 6e 74 72 6f | 64 75 63 74 69 6f 6e 20 |an intro|duction |
|00003ec0| 74 6f 20 50 6f 73 74 53 | 63 72 69 70 74 2e 20 a5 |to PostS|cript. .|
|00003ed0| 20 50 6f 73 74 53 63 72 | 69 70 74 20 4c 61 6e 67 | PostScr|ipt Lang|
|00003ee0| 75 61 67 65 20 52 65 66 | 65 72 65 6e 63 65 20 4d |uage Ref|erence M|
|00003ef0| 61 6e 75 61 6c 20 28 41 | 64 64 69 73 6f 6e 2d 57 |anual (A|ddison-W|
|00003f00| 65 73 6c 65 79 29 2e 0d | a5 20 50 6f 73 74 53 63 |esley)..|. PostSc|
|00003f10| 72 69 70 74 20 4c 61 6e | 67 75 61 67 65 20 50 72 |ript Lan|guage Pr|
|00003f20| 6f 67 72 61 6d 20 44 65 | 73 69 67 6e 20 28 41 64 |ogram De|sign (Ad|
|00003f30| 64 69 73 6f 6e 2d 57 65 | 73 6c 65 79 29 20 64 65 |dison-We|sley) de|
|00003f40| 74 61 69 6c 73 20 64 65 | 73 69 67 6e 69 6e 67 20 |tails de|signing |
|00003f50| 65 66 66 69 63 69 65 6e | 74 20 50 6f 73 74 53 63 |efficien|t PostSc|
|00003f60| 72 69 70 74 20 70 72 6f | 67 72 61 6d 73 2e 20 49 |ript pro|grams. I|
|00003f70| 74 20 68 61 73 20 61 20 | 6c 6f 74 20 6f 66 20 75 |t has a |lot of u|
|00003f80| 73 65 66 75 6c 20 73 61 | 6d 70 6c 65 20 70 72 6f |seful sa|mple pro|
|00003f90| 67 72 61 6d 73 20 6f 6e | 20 74 6f 70 69 63 73 20 |grams on| topics |
|00003fa0| 6c 69 6b 65 20 77 72 69 | 74 69 6e 67 20 61 20 70 |like wri|ting a p|
|00003fb0| 72 69 6e 74 20 73 70 6f | 6f 6c 65 72 2e 0d 59 6f |rint spo|oler..Yo|
|00003fc0| 75 20 6e 65 65 64 20 74 | 6f 20 63 6f 6e 76 65 72 |u need t|o conver|
|00003fd0| 74 20 61 6c 6c 20 74 68 | 65 20 51 75 69 63 6b 44 |t all th|e QuickD|
|00003fe0| 72 61 77 20 6f 70 65 72 | 61 74 69 6f 6e 73 20 69 |raw oper|ations i|
|00003ff0| 6e 20 61 20 50 49 43 54 | 20 74 6f 20 63 6f 72 72 |n a PICT| to corr|
|00004000| 65 73 70 6f 6e 64 69 6e | 67 20 50 6f 73 74 53 63 |espondin|g PostSc|
|00004010| 72 69 70 74 20 6f 70 65 | 72 61 74 69 6f 6e 73 2e |ript ope|rations.|
|00004020| 20 54 6f 20 67 65 74 20 | 61 20 66 65 65 6c 20 66 | To get |a feel f|
|00004030| 6f 72 20 74 68 69 73 20 | 63 6f 6e 76 65 72 73 69 |or this |conversi|
|00004040| 6f 6e 2c 20 79 6f 75 20 | 63 61 6e 20 61 6e 61 6c |on, you |can anal|
|00004050| 79 7a 65 20 74 68 65 20 | 50 6f 73 74 53 63 72 69 |yze the |PostScri|
|00004060| 70 74 20 64 75 6d 70 20 | 66 72 6f 6d 20 61 20 4c |pt dump |from a L|
|00004070| 61 73 65 72 57 72 69 74 | 65 72 20 74 6f 20 73 65 |aserWrit|er to se|
|00004080| 65 20 68 6f 77 20 69 74 | 20 63 6f 6e 76 65 72 74 |e how it| convert|
|00004090| 73 20 61 20 50 49 43 54 | 20 74 6f 20 50 6f 73 74 |s a PICT| to Post|
|000040a0| 53 63 72 69 70 74 2e 20 | 55 6e 64 65 72 20 53 79 |Script. |Under Sy|
|000040b0| 73 74 65 6d 20 36 2e 78 | 2c 20 61 20 50 6f 73 74 |stem 6.x|, a Post|
|000040c0| 53 63 72 69 70 74 20 64 | 75 6d 70 20 63 61 6e 20 |Script d|ump can |
|000040d0| 62 65 20 6f 62 74 61 69 | 6e 65 64 20 62 79 20 70 |be obtai|ned by p|
|000040e0| 72 65 73 73 69 6e 67 20 | 43 6f 6d 6d 61 6e 64 2d |ressing |Command-|
|000040f0| 4b 20 77 68 69 6c 65 20 | 70 72 69 6e 74 69 6e 67 |K while |printing|
|00004100| 2e 20 55 6e 64 65 72 20 | 53 79 73 74 65 6d 20 37 |. Under |System 7|
|00004110| 2e 30 2c 20 79 6f 75 20 | 63 61 6e 20 67 65 74 20 |.0, you |can get |
|00004120| 61 20 64 75 6d 70 20 62 | 79 20 73 65 6c 65 63 74 |a dump b|y select|
|00004130| 69 6e 67 20 74 68 65 20 | 50 6f 73 74 53 63 72 69 |ing the |PostScri|
|00004140| 70 74 20 46 69 6c 65 20 | 6f 70 74 69 6f 6e 20 69 |pt File |option i|
|00004150| 6e 20 74 68 65 20 50 72 | 69 6e 74 20 64 69 61 6c |n the Pr|int dial|
|00004160| 6f 67 2e 0d 53 6f 6d 65 | 20 61 72 65 61 73 20 6f |og..Some| areas o|
|00004170| 66 20 51 75 69 63 6b 44 | 72 61 77 2c 20 73 75 63 |f QuickD|raw, suc|
|00004180| 68 20 61 73 20 74 72 61 | 6e 73 66 65 72 20 6d 6f |h as tra|nsfer mo|
|00004190| 64 65 73 2c 20 64 6f 20 | 6e 6f 74 20 68 61 76 65 |des, do |not have|
|000041a0| 20 61 20 63 6f 72 72 65 | 73 70 6f 6e 64 65 6e 63 | a corre|spondenc|
|000041b0| 65 20 69 6e 20 50 6f 73 | 74 53 63 72 69 70 74 2e |e in Pos|tScript.|
|000041c0| 20 54 68 65 20 50 6f 73 | 74 53 63 72 69 70 74 20 | The Pos|tScript |
|000041d0| 69 6d 61 67 69 6e 67 20 | 6d 6f 64 65 6c 20 69 73 |imaging |model is|
|000041e0| 20 64 65 73 69 67 6e 65 | 64 20 73 6f 20 74 68 61 | designe|d so tha|
|000041f0| 74 20 61 6c 6c 20 61 72 | 65 61 73 20 6f 66 20 61 |t all ar|eas of a|
|00004200| 20 70 61 67 65 20 61 66 | 66 65 63 74 65 64 20 62 | page af|fected b|
|00004210| 79 20 61 6e 20 69 6d 61 | 67 65 20 61 72 65 20 6d |y an ima|ge are m|
|00004220| 61 72 6b 65 64 20 61 73 | 20 69 66 20 77 69 74 68 |arked as| if with|
|00004230| 20 6f 70 61 71 75 65 20 | 70 61 69 6e 74 2e 20 55 | opaque |paint. U|
|00004240| 73 69 6e 67 20 69 6d 61 | 67 65 20 6d 61 73 6b 73 |sing ima|ge masks|
|00004250| 20 63 61 6e 20 68 65 6c | 70 2e 20 53 65 65 20 74 | can hel|p. See t|
|00004260| 68 65 20 47 72 61 70 68 | 69 63 73 20 63 68 61 70 |he Graph|ics chap|
|00004270| 74 65 72 20 69 6e 20 74 | 68 65 20 50 6f 73 74 53 |ter in t|he PostS|
|00004280| 63 72 69 70 74 20 72 65 | 66 65 72 65 6e 63 65 20 |cript re|ference |
|00004290| 6d 61 6e 75 61 6c 2e 0d | 50 49 43 54 2d 74 6f 2d |manual..|PICT-to-|
|000042a0| 50 6f 73 74 53 63 72 69 | 70 74 20 63 6f 6e 76 65 |PostScri|pt conve|
|000042b0| 72 73 69 6f 6e 20 63 61 | 6e 20 62 65 20 61 20 6c |rsion ca|n be a l|
|000042c0| 6f 6e 67 20 70 72 6f 63 | 65 73 73 2c 20 65 73 70 |ong proc|ess, esp|
|000042d0| 65 63 69 61 6c 6c 79 20 | 69 66 20 6f 6e 65 20 69 |ecially |if one i|
|000042e0| 73 20 75 6e 66 61 6d 69 | 6c 69 61 72 20 77 69 74 |s unfami|liar wit|
|000042f0| 68 20 50 6f 73 74 53 63 | 72 69 70 74 2e 20 55 73 |h PostSc|ript. Us|
|00004300| 69 6e 67 20 74 68 65 20 | 61 62 6f 76 65 20 62 6f |ing the |above bo|
|00004310| 6f 6b 73 20 61 6e 64 20 | 74 68 65 20 50 6f 73 74 |oks and |the Post|
|00004320| 53 63 72 69 70 74 20 64 | 75 6d 70 20 66 72 6f 6d |Script d|ump from|
|00004330| 20 74 68 65 20 4c 61 73 | 65 72 57 72 69 74 65 72 | the Las|erWriter|
|00004340| 20 28 62 75 74 20 4f 4e | 4c 59 20 61 73 20 61 20 | (but ON|LY as a |
|00004350| 67 65 6e 65 72 61 6c 20 | 67 75 69 64 65 29 20 73 |general |guide) s|
|00004360| 68 6f 75 6c 64 20 68 65 | 6c 70 2e 0d 43 61 6c 6c |hould he|lp..Call|
|00004370| 69 6e 67 20 49 6e 69 74 | 43 75 72 73 6f 72 20 69 |ing Init|Cursor i|
|00004380| 6e 73 74 65 61 64 20 6f | 66 20 53 65 74 43 75 72 |nstead o|f SetCur|
|00004390| 73 6f 72 0d 57 72 69 74 | 74 65 6e 3a 09 31 30 2f |sor.Writ|ten:.10/|
|000043a0| 32 33 2f 39 30 0d 4c 61 | 73 74 20 72 65 76 69 65 |23/90.La|st revie|
|000043b0| 77 65 64 3a 09 32 2f 32 | 30 2f 39 31 0d 49 73 20 |wed:.2/2|0/91.Is |
|000043c0| 69 74 20 6c 65 67 61 6c | 20 74 6f 20 63 61 6c 6c |it legal| to call|
|000043d0| 20 49 6e 69 74 43 75 72 | 73 6f 72 20 69 6e 73 74 | InitCur|sor inst|
|000043e0| 65 61 64 20 6f 66 20 53 | 65 74 43 75 72 73 6f 72 |ead of S|etCursor|
|000043f0| 28 61 72 72 6f 77 29 20 | 77 68 65 6e 20 49 20 77 |(arrow) |when I w|
|00004400| 61 6e 74 20 74 6f 20 73 | 65 74 20 74 68 65 20 63 |ant to s|et the c|
|00004410| 75 72 73 6f 72 20 74 6f | 20 61 6e 20 61 72 72 6f |ursor to| an arro|
|00004420| 77 20 28 61 66 74 65 72 | 20 6d 79 20 6e 6f 72 6d |w (after| my norm|
|00004430| 61 6c 20 6f 6e 65 2d 74 | 69 6d 65 20 70 72 6f 67 |al one-t|ime prog|
|00004440| 72 61 6d 20 69 6e 69 74 | 69 61 6c 69 7a 61 74 69 |ram init|ializati|
|00004450| 6f 6e 20 63 6f 64 65 2c | 20 69 6e 20 6d 79 20 55 |on code,| in my U|
|00004460| 70 64 61 74 65 43 75 72 | 73 6f 72 20 72 6f 75 74 |pdateCur|sor rout|
|00004470| 69 6e 65 29 3f 20 54 68 | 65 20 6f 6e 6c 79 20 72 |ine)? Th|e only r|
|00004480| 65 61 73 6f 6e 20 49 27 | 64 20 77 61 6e 74 20 74 |eason I'|d want t|
|00004490| 6f 20 64 6f 20 73 75 63 | 68 20 61 20 73 6b 61 6e |o do suc|h a skan|
|000044a0| 6b 79 20 74 68 69 6e 67 | 20 69 73 20 74 6f 20 73 |ky thing| is to s|
|000044b0| 61 76 65 20 63 6f 64 65 | 2e 20 43 61 6c 6c 69 6e |ave code|. Callin|
|000044c0| 67 20 61 20 74 72 61 70 | 20 77 69 74 68 20 6e 6f |g a trap| with no|
|000044d0| 20 70 61 72 61 6d 65 74 | 65 72 73 20 69 73 20 6c | paramet|ers is l|
|000044e0| 65 73 73 20 63 6f 64 65 | 20 74 68 61 6e 20 6f 6e |ess code| than on|
|000044f0| 65 20 77 69 74 68 20 70 | 61 72 61 6d 65 74 65 72 |e with p|arameter|
|00004500| 73 2e 20 57 68 61 74 2c | 20 65 78 61 63 74 6c 79 |s. What,| exactly|
|00004510| 2c 20 69 66 20 61 6e 79 | 74 68 69 6e 67 2c 20 64 |, if any|thing, d|
|00004520| 6f 65 73 20 49 6e 69 74 | 43 75 72 73 6f 72 20 64 |oes Init|Cursor d|
|00004530| 6f 20 62 65 73 69 64 65 | 73 20 73 65 74 74 69 6e |o beside|s settin|
|00004540| 67 20 74 68 65 20 63 75 | 72 73 6f 72 20 74 6f 20 |g the cu|rsor to |
|00004550| 61 6e 20 61 72 72 6f 77 | 20 61 6e 64 20 73 65 74 |an arrow| and set|
|00004560| 74 69 6e 67 20 74 68 65 | 20 63 75 72 73 6f 72 20 |ting the| cursor |
|00004570| 6c 65 76 65 6c 20 74 6f | 20 7a 65 72 6f 3f 0d 5f |level to| zero?._|
|00004580| 5f 5f 0d 54 68 65 72 65 | 27 73 20 6e 6f 20 70 72 |__.There|'s no pr|
|00004590| 6f 62 6c 65 6d 20 61 74 | 20 61 6c 6c 20 77 69 74 |oblem at| all wit|
|000045a0| 68 20 74 68 69 73 2c 20 | 61 73 20 6c 6f 6e 67 20 |h this, |as long |
|000045b0| 61 73 20 79 6f 75 20 61 | 72 65 20 61 77 61 72 65 |as you a|re aware|
|000045c0| 20 74 68 61 74 20 74 68 | 65 20 68 69 64 64 65 6e | that th|e hidden|
|000045d0| 2c 20 62 75 73 79 2c 20 | 61 6e 64 20 6f 62 73 63 |, busy, |and obsc|
|000045e0| 75 72 65 64 20 73 74 61 | 74 65 73 20 61 72 65 20 |ured sta|tes are |
|000045f0| 63 6c 65 61 72 65 64 20 | 77 68 65 6e 20 79 6f 75 |cleared |when you|
|00004600| 20 63 61 6c 6c 20 49 6e | 69 74 43 75 72 73 6f 72 | call In|itCursor|
|00004610| 2c 20 73 6f 20 69 66 20 | 74 68 65 20 63 75 72 73 |, so if |the curs|
|00004620| 6f 72 20 77 61 73 20 68 | 69 64 64 65 6e 20 6f 72 |or was h|idden or|
|00004630| 20 6f 62 73 63 75 72 65 | 64 20 66 6f 72 20 67 6f | obscure|d for go|
|00004640| 6f 64 20 72 65 61 73 6f | 6e 20 69 74 27 6c 6c 20 |od reaso|n it'll |
|00004650| 73 75 64 64 65 6e 6c 79 | 20 72 65 61 70 70 65 61 |suddenly| reappea|
|00004660| 72 2e 20 49 74 20 61 6c | 73 6f 20 67 65 74 73 20 |r. It al|so gets |
|00004670| 74 68 65 20 61 72 72 6f | 77 20 66 72 6f 6d 20 51 |the arro|w from Q|
|00004680| 75 69 63 6b 44 72 61 77 | 2c 20 6f 66 20 63 6f 75 |uickDraw|, of cou|
|00004690| 72 73 65 2c 20 62 75 74 | 20 74 68 61 74 27 73 20 |rse, but| that's |
|000046a0| 6e 6f 74 20 61 20 70 72 | 6f 62 6c 65 6d 2e 0d 50 |not a pr|oblem..P|
|000046b0| 49 43 54 20 66 6f 6e 74 | 4e 61 6d 65 20 6f 70 63 |ICT font|Name opc|
|000046c0| 6f 64 65 0d 57 72 69 74 | 74 65 6e 3a 09 31 30 2f |ode.Writ|ten:.10/|
|000046d0| 33 31 2f 39 30 0d 4c 61 | 73 74 20 72 65 76 69 65 |31/90.La|st revie|
|000046e0| 77 65 64 3a 09 32 2f 32 | 30 2f 39 31 0d 49 73 20 |wed:.2/2|0/91.Is |
|000046f0| 74 68 65 72 65 20 61 6e | 20 75 70 2d 74 6f 2d 64 |there an| up-to-d|
|00004700| 61 74 65 20 63 61 6e 6f | 6e 69 63 61 6c 20 73 6f |ate cano|nical so|
|00004710| 75 72 63 65 20 66 6f 72 | 20 50 49 43 54 20 6f 70 |urce for| PICT op|
|00004720| 63 6f 64 65 73 3f 20 49 | 6e 20 d2 4e 69 67 68 74 |codes? I|n .Night|
|00004730| 20 6f 66 20 74 68 65 20 | 4c 69 76 69 6e 67 20 44 | of the |Living D|
|00004740| 69 73 63 2c d3 20 61 73 | 20 66 61 72 20 61 73 20 |isc,. as| far as |
|00004750| 49 20 63 61 6e 20 73 65 | 65 2c 20 74 68 65 20 6f |I can se|e, the o|
|00004760| 6e 6c 79 20 6c 69 73 74 | 20 6f 66 20 50 49 43 54 |nly list| of PICT|
|00004770| 20 6f 70 63 6f 64 65 73 | 20 69 73 20 69 6e 20 74 | opcodes| is in t|
|00004780| 68 65 20 4d 61 63 69 6e | 74 6f 73 68 20 54 65 63 |he Macin|tosh Tec|
|00004790| 68 20 4e 6f 74 65 20 d2 | 51 75 69 63 6b 44 72 61 |h Note .|QuickDra|
|000047a0| 77 d5 73 20 49 6e 74 65 | 72 6e 61 6c 20 50 69 63 |w.s Inte|rnal Pic|
|000047b0| 74 75 72 65 20 44 65 66 | 69 6e 69 74 69 6f 6e d3 |ture Def|inition.|
|000047c0| 20 77 68 69 63 68 20 64 | 6f 65 73 20 6e 6f 74 20 | which d|oes not |
|000047d0| 6d 65 6e 74 69 6f 6e 20 | 6f 70 63 6f 64 65 20 24 |mention |opcode $|
|000047e0| 32 43 2e 20 49 74 20 61 | 70 70 65 61 72 73 20 74 |2C. It a|ppears t|
|000047f0| 68 61 74 20 6f 70 63 6f | 64 65 20 24 32 43 20 63 |hat opco|de $2C c|
|00004800| 6f 6e 63 65 72 6e 73 20 | 66 6f 6e 74 20 6e 61 6d |oncerns |font nam|
|00004810| 65 73 2e 20 49 20 72 65 | 63 61 6c 6c 20 73 65 65 |es. I re|call see|
|00004820| 69 6e 67 20 61 20 70 61 | 74 63 68 20 66 6f 72 20 |ing a pa|tch for |
|00004830| 50 69 63 74 44 65 74 65 | 63 74 69 76 65 20 6e 61 |PictDete|ctive na|
|00004840| 6d 65 64 20 22 66 6f 6e | 74 6e 61 6d 65 6f 70 22 |med "fon|tnameop"|
|00004850| 20 6f 72 20 73 6f 6d 65 | 74 68 69 6e 67 20 6c 69 | or some|thing li|
|00004860| 6b 65 20 74 68 61 74 2e | 20 48 6f 77 65 76 65 72 |ke that.| However|
|00004870| 20 49 20 63 61 6e 27 74 | 20 62 65 20 73 75 72 65 | I can't| be sure|
|00004880| 20 74 68 61 74 20 24 32 | 43 20 69 73 20 74 68 65 | that $2|C is the|
|00004890| 20 6f 6e 6c 79 20 6e 65 | 77 20 6f 70 63 6f 64 65 | only ne|w opcode|
|000048a0| 2e 0d 5f 5f 5f 0d 54 68 | 65 20 66 6f 6e 74 4e 61 |..___.Th|e fontNa|
|000048b0| 6d 65 20 6f 70 63 6f 64 | 65 20 69 73 20 64 6f 63 |me opcod|e is doc|
|000048c0| 75 6d 65 6e 74 65 64 20 | 69 6e 20 74 68 65 20 54 |umented |in the T|
|000048d0| 65 63 68 6e 69 63 61 6c | 20 4e 6f 74 65 20 d2 33 |echnical| Note .3|
|000048e0| 32 2d 42 69 74 20 51 75 | 69 63 6b 44 72 61 77 3a |2-Bit Qu|ickDraw:|
|000048f0| 20 56 65 72 73 69 6f 6e | 20 31 2e 32 20 46 65 61 | Version| 1.2 Fea|
|00004900| 74 75 72 65 73 2e d3 20 | 4e 6f 74 65 20 61 6c 73 |tures.. |Note als|
|00004910| 6f 20 74 68 61 74 20 73 | 69 6e 63 65 20 74 68 65 |o that s|ince the|
|00004920| 20 69 6e 74 72 6f 64 75 | 63 74 69 6f 6e 20 6f 66 | introdu|ction of|
|00004930| 20 33 32 2d 42 69 74 20 | 51 75 69 63 6b 44 72 61 | 32-Bit |QuickDra|
|00004940| 77 20 74 68 65 72 65 20 | 61 72 65 20 74 77 6f 20 |w there |are two |
|00004950| 6d 6f 72 65 20 62 69 74 | 6d 61 70 20 6f 70 63 6f |more bit|map opco|
|00004960| 64 65 73 20 66 6f 72 20 | 64 69 72 65 63 74 20 52 |des for |direct R|
|00004970| 47 42 20 50 69 78 4d 61 | 70 73 20 24 30 30 39 41 |GB PixMa|ps $009A|
|00004980| 20 28 44 69 72 65 63 74 | 42 69 74 73 52 65 63 74 | (Direct|BitsRect|
|00004990| 29 20 61 6e 64 20 24 30 | 30 39 42 20 28 44 69 72 |) and $0|09B (Dir|
|000049a0| 65 63 74 42 69 74 73 52 | 67 6e 29 2e 20 54 68 65 |ectBitsR|gn). The|
|000049b0| 20 51 75 69 63 6b 44 72 | 61 77 20 73 65 63 74 69 | QuickDr|aw secti|
|000049c0| 6f 6e 20 6f 66 20 49 6e | 73 69 64 65 20 4d 61 63 |on of In|side Mac|
|000049d0| 69 6e 74 6f 73 68 20 56 | 6f 6c 75 6d 65 20 56 49 |intosh V|olume VI|
|000049e0| 20 68 61 73 20 61 6c 6c | 20 74 68 65 73 65 20 6f | has all| these o|
|000049f0| 70 63 6f 64 65 73 20 6c | 69 73 74 65 64 20 69 6e |pcodes l|isted in|
|00004a00| 20 61 20 73 69 6e 67 6c | 65 20 70 6c 61 63 65 2c | a singl|e place,|
|00004a10| 20 6d 61 6b 69 6e 67 20 | 69 74 20 65 61 73 69 65 | making |it easie|
|00004a20| 72 20 74 6f 20 67 65 74 | 20 74 68 65 20 6e 65 63 |r to get| the nec|
|00004a30| 65 73 73 61 72 79 20 69 | 6e 66 6f 2e 20 48 65 72 |essary i|nfo. Her|
|00004a40| 65 20 69 73 20 74 68 65 | 20 69 6e 66 6f 20 6f 6e |e is the| info on|
|00004a50| 20 66 6f 6e 74 20 6e 61 | 6d 65 73 20 61 6e 64 20 | font na|mes and |
|00004a60| 70 69 63 74 75 72 65 73 | 20 66 72 6f 6d 20 74 68 |pictures| from th|
|00004a70| 65 20 22 33 32 2d 42 69 | 74 20 51 75 69 63 6b 44 |e "32-Bi|t QuickD|
|00004a80| 72 61 77 2e 2e 2e 22 20 | 54 65 63 68 20 4e 6f 74 |raw..." |Tech Not|
|00004a90| 65 3a 0d 50 49 43 54 73 | 20 43 6f 6e 74 61 69 6e |e:.PICTs| Contain|
|00004aa0| 20 46 6f 6e 74 20 4e 61 | 6d 65 20 49 6e 66 6f 72 | Font Na|me Infor|
|00004ab0| 6d 61 74 69 6f 6e 0d 45 | 76 65 72 79 20 74 69 6d |mation.E|very tim|
|00004ac0| 65 20 79 6f 75 20 64 72 | 61 77 20 74 65 78 74 20 |e you dr|aw text |
|00004ad0| 69 6e 73 69 64 65 20 6f | 66 20 61 6e 20 5f 4f 70 |inside o|f an _Op|
|00004ae0| 65 6e 50 69 63 74 75 72 | 65 20 61 6e 64 20 5f 43 |enPictur|e and _C|
|00004af0| 6c 6f 73 65 50 69 63 74 | 75 72 65 20 70 61 69 72 |losePict|ure pair|
|00004b00| 2c 0d 51 75 69 63 6b 44 | 72 61 77 20 73 74 6f 72 |,.QuickD|raw stor|
|00004b10| 65 73 20 74 68 65 20 6e | 61 6d 65 20 6f 66 20 74 |es the n|ame of t|
|00004b20| 68 65 20 63 75 72 72 65 | 6e 74 20 66 6f 6e 74 20 |he curre|nt font |
|00004b30| 61 6e 64 20 75 73 65 73 | 20 69 74 20 77 68 65 6e |and uses| it when|
|00004b40| 20 70 6c 61 79 69 6e 67 | 20 62 61 63 6b 0d 74 68 | playing| back.th|
|00004b50| 65 20 70 69 63 74 75 72 | 65 2e 20 54 68 65 20 6f |e pictur|e. The o|
|00004b60| 70 63 6f 64 65 20 75 73 | 65 64 20 74 6f 20 73 61 |pcode us|ed to sa|
|00004b70| 76 65 20 74 68 69 73 20 | 69 6e 66 6f 72 6d 61 74 |ve this |informat|
|00004b80| 69 6f 6e 20 69 73 20 24 | 30 30 32 43 20 61 6e 64 |ion is $|002C and|
|00004b90| 20 69 74 73 20 64 61 74 | 61 20 69 73 0d 61 73 20 | its dat|a is.as |
|00004ba0| 66 6f 6c 6c 6f 77 73 3a | 0d 20 20 20 50 69 63 74 |follows:|. Pict|
|00004bb0| 46 6f 6e 74 49 6e 66 6f | 20 3d 20 52 65 63 6f 72 |FontInfo| = Recor|
|00004bc0| 64 0d 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |d. | |
|00004bd0| 20 20 20 20 20 20 6c 65 | 6e 67 74 68 20 20 20 3a | le|ngth :|
|00004be0| 20 49 6e 74 65 67 65 72 | 3b 20 20 20 20 7b 20 6c | Integer|; { l|
|00004bf0| 65 6e 67 74 68 20 6f 66 | 20 64 61 74 61 20 69 6e |ength of| data in|
|00004c00| 20 62 79 74 65 73 20 7d | 0d 20 20 20 20 20 20 20 | bytes }|. |
|00004c10| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 66 6f 6e | | fon|
|00004c20| 74 49 44 20 20 20 3a 20 | 49 6e 74 65 67 65 72 3b |tID : |Integer;|
|00004c30| 20 20 20 20 7b 20 49 44 | 20 69 6e 20 74 68 65 20 | { ID| in the |
|00004c40| 73 6f 75 72 63 65 20 73 | 79 73 74 65 6d 20 7d 0d |source s|ystem }.|
|00004c50| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004c60| 20 20 20 20 66 6f 6e 74 | 4e 61 6d 65 20 3a 20 53 | font|Name : S|
|00004c70| 74 72 32 35 35 3b 0d 20 | 20 20 20 20 20 20 20 20 |tr255;. | |
|00004c80| 20 20 20 20 20 20 20 20 | 20 45 4e 44 3b 0d 51 75 | | END;.Qu|
|00004c90| 69 63 6b 44 72 61 77 20 | 73 61 76 65 73 20 74 68 |ickDraw |saves th|
|00004ca0| 69 73 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 20 6f |is infor|mation o|
|00004cb0| 6e 6c 79 20 6f 6e 65 20 | 74 69 6d 65 20 66 6f 72 |nly one |time for|
|00004cc0| 20 65 61 63 68 20 66 6f | 6e 74 20 75 73 65 64 20 | each fo|nt used |
|00004cd0| 69 6e 20 61 20 70 69 63 | 74 75 72 65 2e 20 57 68 |in a pic|ture. Wh|
|00004ce0| 65 6e 20 51 75 69 63 6b | 44 72 61 77 20 70 6c 61 |en Quick|Draw pla|
|00004cf0| 79 73 20 62 61 63 6b 20 | 61 20 70 69 63 74 75 72 |ys back |a pictur|
|00004d00| 65 2c 20 69 74 20 75 73 | 65 73 20 74 68 65 20 66 |e, it us|es the f|
|00004d10| 6f 6e 74 49 44 20 61 73 | 20 61 20 72 65 66 65 72 |ontID as| a refer|
|00004d20| 65 6e 63 65 20 69 6e 74 | 6f 20 74 68 65 20 6c 69 |ence int|o the li|
|00004d30| 73 74 20 6f 66 20 66 6f | 6e 74 20 6e 61 6d 65 73 |st of fo|nt names|
|00004d40| 20 77 68 69 63 68 20 61 | 72 65 20 75 73 65 64 20 | which a|re used |
|00004d50| 74 6f 20 73 65 74 20 74 | 68 65 20 63 6f 72 72 65 |to set t|he corre|
|00004d60| 63 74 20 66 6f 6e 74 20 | 6f 6e 20 74 68 65 20 74 |ct font |on the t|
|00004d70| 61 72 67 65 74 20 73 79 | 73 74 65 6d 2e 0d 46 6f |arget sy|stem..Fo|
|00004d80| 72 20 65 78 61 6d 70 6c | 65 2c 20 74 68 65 20 66 |r exampl|e, the f|
|00004d90| 6f 6c 6c 6f 77 69 6e 67 | 20 63 6f 64 65 3a 0d 20 |ollowing| code:. |
|00004da0| 20 20 47 65 74 46 4e 75 | 6d 28 27 56 65 6e 69 63 | GetFNu|m('Venic|
|00004db0| 65 27 2c 20 74 68 65 46 | 6f 6e 74 49 44 29 3b 20 |e', theF|ontID); |
|00004dc0| 20 20 20 7b 20 53 65 74 | 20 61 20 66 6f 6e 74 20 | { Set| a font |
|00004dd0| 62 65 66 6f 72 65 20 6f | 70 65 6e 69 6e 67 20 50 |before o|pening P|
|00004de0| 49 43 54 7d 0d 20 20 20 | 54 65 78 74 46 6f 6e 74 |ICT}. |TextFont|
|00004df0| 28 74 68 65 46 6f 6e 74 | 49 44 29 3b 0d 20 20 20 |(theFont|ID);. |
|00004e00| 70 48 61 6e 64 32 20 3a | 3d 20 4f 70 65 6e 50 69 |pHand2 :|= OpenPi|
|00004e10| 63 74 75 72 65 20 28 70 | 69 63 74 52 65 63 74 29 |cture (p|ictRect)|
|00004e20| 3b 0d 20 20 20 20 20 20 | 20 4d 6f 76 65 54 6f 28 |;. | MoveTo(|
|00004e30| 32 30 2c 32 30 29 3b 0d | 20 20 20 20 20 20 20 44 |20,20);.| D|
|00004e40| 72 61 77 53 74 72 69 6e | 67 28 27 20 42 65 74 74 |rawStrin|g(' Bett|
|00004e50| 65 72 20 62 65 20 56 65 | 6e 69 63 65 27 29 3b 0d |er be Ve|nice');.|
|00004e60| 20 20 20 20 20 20 20 47 | 65 74 46 4e 75 6d 28 27 | G|etFNum('|
|00004e70| 47 65 6e 65 76 61 27 2c | 20 74 68 65 46 6f 6e 74 |Geneva',| theFont|
|00004e80| 49 44 29 3b 0d 20 20 20 | 20 20 20 20 54 65 78 74 |ID);. | Text|
|00004e90| 46 6f 6e 74 28 74 68 65 | 46 6f 6e 74 49 44 29 3b |Font(the|FontID);|
|00004ea0| 0d 20 20 20 20 20 20 20 | 4d 6f 76 65 54 6f 28 32 |. |MoveTo(2|
|00004eb0| 30 2c 34 30 29 3b 0d 20 | 20 20 20 20 20 20 44 72 |0,40);. | Dr|
|00004ec0| 61 77 53 74 72 69 6e 67 | 28 27 47 65 6e 65 76 61 |awString|('Geneva|
|00004ed0| 27 29 3b 0d 20 20 20 20 | 20 20 20 47 65 74 46 4e |');. | GetFN|
|00004ee0| 75 6d 28 27 4e 65 77 20 | 59 6f 72 6b 27 2c 20 74 |um('New |York', t|
|00004ef0| 68 65 46 6f 6e 74 49 44 | 29 3b 0d 20 20 20 20 20 |heFontID|);. |
|00004f00| 20 20 54 65 78 74 46 6f | 6e 74 28 74 68 65 46 6f | TextFo|nt(theFo|
|00004f10| 6e 74 49 44 29 3b 0d 20 | 20 20 20 20 20 20 4d 6f |ntID);. | Mo|
|00004f20| 76 65 54 6f 28 32 30 2c | 36 30 29 3b 0d 20 20 20 |veTo(20,|60);. |
|00004f30| 20 20 20 20 44 72 61 77 | 53 74 72 69 6e 67 28 27 | Draw|String('|
|00004f40| 4e 65 77 20 59 6f 72 6b | 27 29 3b 0d 20 20 20 20 |New York|');. |
|00004f50| 20 20 20 47 65 74 46 4e | 75 6d 28 27 47 65 6e 65 | GetFN|um('Gene|
|00004f60| 76 61 27 2c 20 74 68 65 | 46 6f 6e 74 49 44 29 3b |va', the|FontID);|
|00004f70| 0d 20 20 20 20 20 20 20 | 54 65 78 74 46 6f 6e 74 |. |TextFont|
|00004f80| 28 74 68 65 46 6f 6e 74 | 49 44 29 3b 0d 20 20 20 |(theFont|ID);. |
|00004f90| 20 20 20 20 4d 6f 76 65 | 54 6f 28 32 30 2c 38 30 | Move|To(20,80|
|00004fa0| 29 3b 0d 20 20 20 20 20 | 20 20 44 72 61 77 53 74 |);. | DrawSt|
|00004fb0| 72 69 6e 67 28 27 47 65 | 6e 65 76 61 27 29 3b 0d |ring('Ge|neva');.|
|00004fc0| 20 20 20 43 6c 6f 73 65 | 50 69 63 74 75 72 65 3b | Close|Picture;|
|00004fd0| 0d 67 65 6e 65 72 61 74 | 65 73 20 61 20 70 69 63 |.generat|es a pic|
|00004fe0| 74 75 72 65 20 63 6f 6e | 74 61 69 6e 69 6e 67 20 |ture con|taining |
|00004ff0| 66 6f 6e 74 20 69 6e 66 | 6f 72 6d 61 74 69 6f 6e |font inf|ormation|
|00005000| 20 6c 69 6b 65 20 74 68 | 69 73 3a 0d 20 20 20 4f | like th|is:. O|
|00005010| 70 43 6f 64 65 20 30 78 | 30 30 32 43 20 7b 39 2c |pCode 0x|002C {9,|
|00005020| 0d 20 20 20 20 20 20 20 | 22 30 30 30 35 20 30 36 |. |"0005 06|
|00005030| 35 36 20 36 35 36 45 20 | 36 39 36 33 20 36 35 22 |56 656E |6963 65"|
|00005040| 7d 20 20 20 20 20 20 20 | 20 20 20 2f 2a 20 73 61 |} | /* sa|
|00005050| 76 65 20 63 75 72 72 65 | 6e 74 20 66 6f 6e 74 20 |ve curre|nt font |
|00005060| 20 20 20 20 2a 2f 0d 20 | 20 20 54 78 46 6f 6e 74 | */. | TxFont|
|00005070| 20 27 76 65 6e 69 63 65 | 27 0d 20 20 20 44 48 44 | 'venice|'. DHD|
|00005080| 56 54 65 78 74 20 7b 32 | 30 2c 20 32 30 2c 20 22 |VText {2|0, 20, "|
|00005090| 20 42 65 74 74 65 72 20 | 62 65 20 56 65 6e 69 63 | Better |be Venic|
|000050a0| 65 22 7d 0d 20 20 20 4f | 70 43 6f 64 65 20 30 78 |e"}. O|pCode 0x|
|000050b0| 30 30 32 43 20 7b 39 2c | 20 20 20 20 20 20 20 20 |002C {9,| |
|000050c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 2f 2a | | /*|
|000050d0| 20 73 61 76 65 20 6e 65 | 78 74 20 66 6f 6e 74 20 | save ne|xt font |
|000050e0| 6e 61 6d 65 20 20 20 2a | 2f 0d 20 20 20 20 20 20 |name *|/. |
|000050f0| 20 22 30 30 30 33 20 30 | 36 34 37 20 36 35 36 45 | "0003 0|647 656E|
|00005100| 20 36 35 37 36 20 36 31 | 22 7d 0d 20 20 20 54 78 | 6576 61|"}. Tx|
|00005110| 46 6f 6e 74 20 27 67 65 | 6e 65 76 61 27 0d 20 20 |Font 'ge|neva'. |
|00005120| 20 44 56 54 65 78 74 20 | 7b 32 30 2c 20 22 47 65 | DVText |{20, "Ge|
|00005130| 6e 65 76 61 22 7d 0d 20 | 20 20 4f 70 43 6f 64 65 |neva"}. | OpCode|
|00005140| 20 30 78 30 30 32 43 20 | 7b 31 31 2c 20 20 20 20 | 0x002C |{11, |
|00005150| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005160| 20 2f 2a 20 64 69 74 74 | 6f 20 20 20 20 20 20 20 | /* ditt|o |
|00005170| 20 20 20 20 20 20 20 20 | 20 20 20 2a 2f 0d 20 20 | | */. |
|00005180| 20 20 20 20 20 22 30 30 | 30 32 20 30 38 34 45 20 | "00|02 084E |
|00005190| 36 35 37 37 20 32 30 35 | 39 20 36 46 37 32 20 36 |6577 205|9 6F72 6|
|000051a0| 42 22 7d 0d 20 20 20 54 | 78 46 6f 6e 74 20 27 6e |B"}. T|xFont 'n|
|000051b0| 65 77 59 6f 72 6b 27 0d | 20 20 20 44 56 54 65 78 |ewYork'.| DVTex|
|000051c0| 74 20 7b 32 30 2c 20 22 | 4e 65 77 20 59 6f 72 6b |t {20, "|New York|
|000051d0| 22 7d 0d 20 20 20 54 78 | 46 6f 6e 74 20 27 67 65 |"}. Tx|Font 'ge|
|000051e0| 6e 65 76 61 27 20 20 20 | 20 20 20 20 20 20 20 20 |neva' | |
|000051f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 2f 2a 20 | | /* |
|00005200| 73 65 63 6f 6e 64 20 47 | 65 6e 65 76 61 20 64 6f |second G|eneva do|
|00005210| 65 73 20 6e 6f 74 0d 20 | 20 20 20 20 20 20 20 20 |es not. | |
|00005220| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005230| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005240| 20 6e 65 65 64 20 61 6e | 6f 74 68 65 72 20 24 30 | need an|other $0|
|00005250| 30 32 43 20 67 75 79 20 | 2a 2f 0d 20 20 20 44 56 |02C guy |*/. DV|
|00005260| 54 65 78 74 20 7b 32 30 | 2c 20 22 47 65 6e 65 76 |Text {20|, "Genev|
|00005270| 61 22 7d 0d 54 68 69 73 | 20 66 65 61 74 75 72 65 |a"}.This| feature|
|00005280| 20 77 6f 72 6b 73 20 72 | 65 67 61 72 64 6c 65 73 | works r|egardles|
|00005290| 73 20 6f 66 20 74 68 65 | 20 74 79 70 65 20 6f 66 |s of the| type of|
|000052a0| 20 70 69 63 74 75 72 65 | 20 62 65 69 6e 67 20 73 | picture| being s|
|000052b0| 61 76 65 64 2c 20 69 6e | 63 6c 75 64 69 6e 67 20 |aved, in|cluding |
|000052c0| 6f 6c 64 20 73 74 79 6c | 65 20 50 49 43 54 73 20 |old styl|e PICTs |
|000052d0| 69 6e 20 61 20 62 6c 61 | 63 6b 2d 61 6e 64 2d 77 |in a bla|ck-and-w|
|000052e0| 68 69 74 65 20 70 6f 72 | 74 2e 20 55 73 69 6e 67 |hite por|t. Using|
|000052f0| 20 5f 4f 70 65 6e 43 50 | 69 63 74 75 72 65 20 69 | _OpenCP|icture i|
|00005300| 6e 73 74 65 61 64 20 6f | 66 20 5f 4f 70 65 6e 50 |nstead o|f _OpenP|
|00005310| 69 63 74 75 72 65 20 74 | 6f 20 73 74 61 72 74 20 |icture t|o start |
|00005320| 61 20 72 65 63 6f 72 64 | 69 6e 67 20 73 65 73 73 |a record|ing sess|
|00005330| 69 6f 6e 20 72 65 73 75 | 6c 74 73 20 69 6e 20 74 |ion resu|lts in t|
|00005340| 68 65 20 73 61 6d 65 20 | 66 75 6e 63 74 69 6f 6e |he same |function|
|00005350| 61 6c 69 74 79 2e 0d 58 | 2d 52 65 66 73 3a 0d 49 |ality..X|-Refs:.I|
|00005360| 6e 73 69 64 65 20 4d 61 | 63 69 6e 74 6f 73 68 20 |nside Ma|cintosh |
|00005370| 56 6f 6c 75 6d 65 20 56 | 49 0d 4d 61 63 69 6e 74 |Volume V|I.Macint|
|00005380| 6f 73 68 20 54 65 63 68 | 6e 69 63 61 6c 20 4e 6f |osh Tech|nical No|
|00005390| 74 65 20 d2 51 75 69 63 | 6b 44 72 61 77 27 73 20 |te .Quic|kDraw's |
|000053a0| 49 6e 74 65 72 6e 61 6c | 20 50 69 63 74 75 72 65 |Internal| Picture|
|000053b0| 20 44 65 66 69 6e 69 74 | 69 6f 6e d3 0d 4d 61 63 | Definit|ion..Mac|
|000053c0| 69 6e 74 6f 73 68 20 54 | 65 63 68 6e 69 63 61 6c |intosh T|echnical|
|000053d0| 20 4e 6f 74 65 20 d2 33 | 32 2d 42 69 74 20 51 75 | Note .3|2-Bit Qu|
|000053e0| 69 63 6b 44 72 61 77 3a | 20 56 65 72 73 69 6f 6e |ickDraw:| Version|
|000053f0| 20 31 2e 32 20 46 65 61 | 74 75 72 65 73 d3 0d 55 | 1.2 Fea|tures..U|
|00005400| 73 69 6e 67 20 50 69 63 | 43 6f 6d 6d 65 6e 74 73 |sing Pic|Comments|
|00005410| 20 74 6f 20 72 6f 74 61 | 74 65 20 74 65 78 74 0d | to rota|te text.|
|00005420| 57 72 69 74 74 65 6e 3a | 09 31 31 2f 32 38 2f 39 |Written:|.11/28/9|
|00005430| 30 0d 4c 61 73 74 20 72 | 65 76 69 65 77 65 64 3a |0.Last r|eviewed:|
|00005440| 09 31 32 2f 31 39 2f 39 | 30 0d 49 20 68 61 76 65 |.12/19/9|0.I have|
|00005450| 20 61 20 50 6f 73 74 53 | 63 72 69 70 74 20 72 6f | a PostS|cript ro|
|00005460| 75 74 69 6e 65 20 28 75 | 73 69 6e 67 20 54 65 78 |utine (u|sing Tex|
|00005470| 74 42 65 67 69 6e 2f 54 | 65 78 74 45 6e 64 29 20 |tBegin/T|extEnd) |
|00005480| 74 6f 20 67 65 6e 65 72 | 61 74 65 20 62 69 74 6d |to gener|ate bitm|
|00005490| 61 70 70 65 64 20 72 6f | 74 61 74 65 64 20 74 65 |apped ro|tated te|
|000054a0| 78 74 20 6f 6e 20 74 68 | 65 20 73 63 72 65 65 6e |xt on th|e screen|
|000054b0| 20 28 77 68 69 63 68 20 | 63 61 6e 20 62 65 20 6c | (which |can be l|
|000054c0| 61 74 65 72 20 70 72 69 | 6e 74 65 64 20 6f 6e 20 |ater pri|nted on |
|000054d0| 51 75 69 63 6b 44 72 61 | 77 20 70 72 69 6e 74 65 |QuickDra|w printe|
|000054e0| 72 73 29 2e 20 57 68 79 | 20 64 6f 20 49 20 67 65 |rs). Why| do I ge|
|000054f0| 74 20 64 75 70 6c 69 63 | 61 74 65 20 74 65 78 74 |t duplic|ate text|
|00005500| 3f 20 49 20 67 65 74 20 | 62 6f 74 68 20 62 69 74 |? I get |both bit|
|00005510| 6d 61 70 70 65 64 20 72 | 6f 74 61 74 65 64 20 74 |mapped r|otated t|
|00005520| 65 78 74 20 61 6e 64 20 | 50 6f 73 74 53 63 72 69 |ext and |PostScri|
|00005530| 70 74 20 72 6f 74 61 74 | 65 64 20 74 65 78 74 20 |pt rotat|ed text |
|00005540| 77 68 65 6e 20 49 20 70 | 72 69 6e 74 20 6f 6e 20 |when I p|rint on |
|00005550| 74 68 65 20 4c 61 73 65 | 72 57 72 69 74 65 72 20 |the Lase|rWriter |
|00005560| 49 49 2c 20 61 6e 64 20 | 62 6f 74 68 20 62 69 74 |II, and |both bit|
|00005570| 6d 61 70 70 65 64 20 72 | 6f 74 61 74 65 64 20 74 |mapped r|otated t|
|00005580| 65 78 74 20 61 6e 64 20 | 68 6f 72 69 7a 6f 6e 74 |ext and |horizont|
|00005590| 61 6c 20 74 65 78 74 20 | 6f 6e 20 74 68 65 20 49 |al text |on the I|
|000055a0| 6d 61 67 65 57 72 69 74 | 65 72 2e 20 57 68 65 6e |mageWrit|er. When|
|000055b0| 20 49 20 6d 61 6b 65 20 | 61 20 6d 61 63 68 69 6e | I make |a machin|
|000055c0| 65 20 64 65 70 65 6e 64 | 65 6e 74 20 63 68 65 63 |e depend|ent chec|
|000055d0| 6b 20 28 63 68 65 63 6b | 20 74 79 70 65 20 6f 66 |k (check| type of|
|000055e0| 20 70 72 69 6e 74 65 72 | 29 20 61 6e 64 20 63 61 | printer|) and ca|
|000055f0| 6c 6c 20 74 68 65 20 70 | 72 6f 70 65 72 20 70 72 |ll the p|roper pr|
|00005600| 69 6e 74 69 6e 67 20 70 | 72 6f 63 65 64 75 72 65 |inting p|rocedure|
|00005610| 2c 20 69 74 20 77 6f 72 | 6b 73 20 66 69 6e 65 2e |, it wor|ks fine.|
|00005620| 20 42 65 63 61 75 73 65 | 20 6f 66 20 74 68 65 20 | Because| of the |
|00005630| 73 70 65 65 64 20 61 6e | 64 20 6d 65 6d 6f 72 79 |speed an|d memory|
|00005640| 20 63 6f 6e 73 69 64 65 | 72 61 74 69 6f 6e 73 20 | conside|rations |
|00005650| 6f 66 20 67 65 6e 65 72 | 61 74 69 6e 67 20 74 68 |of gener|ating th|
|00005660| 65 20 72 6f 74 61 74 65 | 64 20 62 69 74 6d 61 70 |e rotate|d bitmap|
|00005670| 70 65 64 20 74 65 78 74 | 20 28 65 73 70 65 63 69 |ped text| (especi|
|00005680| 61 6c 6c 79 20 61 74 20 | 33 30 30 20 64 70 69 29 |ally at |300 dpi)|
|00005690| 2c 20 69 73 20 74 68 65 | 72 65 20 61 20 77 61 79 |, is the|re a way|
|000056a0| 20 74 6f 20 65 6e 73 75 | 72 65 20 74 68 61 74 20 | to ensu|re that |
|000056b0| 74 68 65 20 70 72 69 6e | 74 65 72 20 77 69 6c 6c |the prin|ter will|
|000056c0| 20 75 73 65 20 74 68 65 | 20 50 6f 73 74 53 63 72 | use the| PostScr|
|000056d0| 69 70 74 20 42 45 46 4f | 52 45 20 67 65 6e 65 72 |ipt BEFO|RE gener|
|000056e0| 61 74 69 6e 67 20 74 68 | 65 20 62 69 74 6d 61 70 |ating th|e bitmap|
|000056f0| 3f 0d 5f 5f 5f 0d 57 65 | 20 77 69 6c 6c 20 75 73 |?.___.We| will us|
|00005700| 65 20 74 68 65 20 66 6f | 6c 6c 6f 77 69 6e 67 20 |e the fo|llowing |
|00005710| 4d 61 63 69 6e 74 6f 73 | 68 20 50 69 63 43 6f 6d |Macintos|h PicCom|
|00005720| 6d 65 6e 74 73 20 74 6f | 20 68 69 64 65 20 79 6f |ments to| hide yo|
|00005730| 75 72 20 51 75 69 63 6b | 44 72 61 77 20 63 61 6c |ur Quick|Draw cal|
|00005740| 6c 73 20 66 72 6f 6d 20 | 74 68 65 20 4c 61 73 65 |ls from |the Lase|
|00005750| 72 57 72 69 74 65 72 2c | 20 62 75 74 20 74 68 65 |rWriter,| but the|
|00005760| 20 49 6d 61 67 65 57 72 | 69 74 65 72 20 77 69 6c | ImageWr|iter wil|
|00005770| 6c 20 75 73 65 20 74 68 | 65 6d 3a 0d 50 6f 73 74 |l use th|em:.Post|
|00005780| 53 63 72 69 70 74 42 65 | 67 69 6e 0d 20 3e 3e 20 |ScriptBe|gin. >> |
|00005790| 50 75 74 20 79 6f 75 72 | 20 43 6f 70 79 42 69 74 |Put your| CopyBit|
|000057a0| 73 20 61 6e 64 20 51 75 | 69 63 6b 44 72 61 77 20 |s and Qu|ickDraw |
|000057b0| 63 61 6c 6c 73 20 74 6f | 20 69 6d 61 67 65 20 79 |calls to| image y|
|000057c0| 6f 75 72 20 72 6f 74 61 | 74 65 64 0d 20 3e 3e 20 |our rota|ted. >> |
|000057d0| 62 69 74 6d 61 70 70 65 | 64 20 74 65 78 74 20 68 |bitmappe|d text h|
|000057e0| 65 72 65 2e 2e 2e 2e 0d | 50 6f 73 74 53 63 72 69 |ere.....|PostScri|
|000057f0| 70 74 45 6e 64 0d 42 79 | 20 77 72 61 70 70 69 6e |ptEnd.By| wrappin|
|00005800| 67 20 79 6f 75 72 20 51 | 75 69 63 6b 44 72 61 77 |g your Q|uickDraw|
|00005810| 20 63 6f 64 65 20 77 69 | 74 68 69 6e 20 74 68 65 | code wi|thin the|
|00005820| 20 50 6f 73 74 53 63 72 | 69 70 74 42 65 67 69 6e | PostScr|iptBegin|
|00005830| 20 61 6e 64 20 50 6f 73 | 74 53 63 72 69 70 74 45 | and Pos|tScriptE|
|00005840| 6e 64 20 50 69 63 43 6f | 6d 6d 65 6e 74 73 2c 20 |nd PicCo|mments, |
|00005850| 74 68 65 20 63 6f 64 65 | 20 77 69 6c 6c 20 62 65 |the code| will be|
|00005860| 20 69 67 6e 6f 72 65 64 | 20 62 79 20 74 68 65 20 | ignored| by the |
|00005870| 4c 61 73 65 72 57 72 69 | 74 65 72 2c 20 62 75 74 |LaserWri|ter, but|
|00005880| 20 74 68 65 20 49 6d 61 | 67 65 57 72 69 74 65 72 | the Ima|geWriter|
|00005890| 20 77 69 6c 6c 20 75 73 | 65 20 74 68 65 20 51 75 | will us|e the Qu|
|000058a0| 69 63 6b 44 72 61 77 20 | 63 61 6c 6c 73 2e 20 42 |ickDraw |calls. B|
|000058b0| 61 73 69 63 61 6c 6c 79 | 2c 20 74 68 65 20 50 6f |asically|, the Po|
|000058c0| 73 74 53 63 72 69 70 74 | 42 65 67 69 6e 20 61 6e |stScript|Begin an|
|000058d0| 64 20 50 6f 73 74 53 63 | 72 69 70 74 45 6e 64 20 |d PostSc|riptEnd |
|000058e0| 50 69 63 43 6f 6d 6d 65 | 6e 74 73 20 74 65 6c 6c |PicComme|nts tell|
|000058f0| 20 74 68 65 20 4c 61 73 | 65 72 57 72 69 74 65 72 | the Las|erWriter|
|00005900| 20 64 72 69 76 65 72 20 | 74 6f 20 74 75 72 6e 20 | driver |to turn |
|00005910| d2 6f 66 66 d3 20 51 75 | 69 63 6b 44 72 61 77 2e |.off. Qu|ickDraw.|
|00005920| 20 49 6e 20 74 68 65 20 | 49 6d 61 67 65 57 72 69 | In the |ImageWri|
|00005930| 74 65 72 20 63 61 73 65 | 2c 20 74 68 65 20 49 6d |ter case|, the Im|
|00005940| 61 67 65 57 72 69 74 65 | 72 20 64 6f 65 73 20 6e |ageWrite|r does n|
|00005950| 6f 74 20 75 6e 64 65 72 | 73 74 61 6e 64 20 74 68 |ot under|stand th|
|00005960| 65 20 50 69 63 43 6f 6d | 6d 65 6e 74 73 2e 20 54 |e PicCom|ments. T|
|00005970| 68 65 72 65 66 6f 72 65 | 2c 20 69 74 20 77 69 6c |herefore|, it wil|
|00005980| 6c 20 75 73 65 20 74 68 | 65 20 51 75 69 63 6b 44 |l use th|e QuickD|
|00005990| 72 61 77 20 63 61 6c 6c | 73 20 74 6f 20 63 72 65 |raw call|s to cre|
|000059a0| 61 74 65 20 61 6e 64 20 | 69 6d 61 67 65 20 79 6f |ate and |image yo|
|000059b0| 75 72 20 62 69 74 6d 61 | 70 70 65 64 20 74 65 78 |ur bitma|pped tex|
|000059c0| 74 2e 20 0d 4e 6f 77 2c | 20 77 65 20 6e 65 65 64 |t. .Now,| we need|
|000059d0| 20 74 6f 20 75 73 65 20 | 74 68 65 20 72 6f 74 61 | to use |the rota|
|000059e0| 74 69 6f 6e 20 50 69 63 | 43 6f 6d 6d 65 6e 74 73 |tion Pic|Comments|
|000059f0| 20 74 6f 20 72 6f 74 61 | 74 65 20 74 68 65 20 74 | to rota|te the t|
|00005a00| 65 78 74 20 6f 6e 20 74 | 68 65 20 4c 61 73 65 72 |ext on t|he Laser|
|00005a10| 57 72 69 74 65 72 2c 20 | 62 75 74 20 68 61 76 65 |Writer, |but have|
|00005a20| 20 74 68 65 20 49 6d 61 | 67 65 57 72 69 74 65 72 | the Ima|geWriter|
|00005a30| 20 69 67 6e 6f 72 65 20 | 74 68 65 20 63 6f 64 65 | ignore |the code|
|00005a40| 3a 0d 52 65 63 74 20 20 | 7a 65 72 6f 52 65 63 74 |:.Rect |zeroRect|
|00005a50| 3b 0d 53 65 74 52 65 63 | 74 20 28 26 7a 65 72 6f |;.SetRec|t (&zero|
|00005a60| 52 65 63 74 2c 20 30 2c | 20 30 2c 20 30 2c 20 30 |Rect, 0,| 0, 0, 0|
|00005a70| 29 3b 0d 54 65 78 74 42 | 65 67 69 6e 0d 54 65 78 |);.TextB|egin.Tex|
|00005a80| 74 43 65 6e 74 65 72 0d | 20 20 20 20 20 20 43 6c |tCenter.| Cl|
|00005a90| 69 70 52 65 63 74 20 28 | 26 7a 65 72 6f 52 65 63 |ipRect (|&zeroRec|
|00005aa0| 74 29 3b 0d 20 20 20 20 | 20 20 3e 3e 20 44 72 61 |t);. | >> Dra|
|00005ab0| 77 20 79 6f 75 72 20 74 | 65 78 74 20 74 6f 20 62 |w your t|ext to b|
|00005ac0| 65 20 72 6f 74 61 74 65 | 64 20 6f 6e 20 74 68 65 |e rotate|d on the|
|00005ad0| 20 4c 61 73 65 72 57 72 | 69 74 65 72 2e 2e 2e 2e | LaserWr|iter....|
|00005ae0| 0d 20 20 20 20 20 20 43 | 6c 69 70 52 65 63 74 20 |. C|lipRect |
|00005af0| 28 26 72 50 61 67 65 52 | 65 63 74 29 3b 0d 54 65 |(&rPageR|ect);.Te|
|00005b00| 78 74 45 6e 64 0d 57 72 | 61 70 70 69 6e 67 20 79 |xtEnd.Wr|apping y|
|00005b10| 6f 75 72 20 74 65 78 74 | 20 64 72 61 77 69 6e 67 |our text| drawing|
|00005b20| 20 63 61 6c 6c 28 73 29 | 20 62 65 74 77 65 65 6e | call(s)| between|
|00005b30| 20 74 68 65 20 43 6c 69 | 70 52 65 63 74 20 63 61 | the Cli|pRect ca|
|00005b40| 6c 6c 73 20 77 69 6c 6c | 20 65 6e 73 75 72 65 20 |lls will| ensure |
|00005b50| 74 68 61 74 20 74 68 65 | 20 74 65 78 74 20 69 73 |that the| text is|
|00005b60| 20 64 72 61 77 6e 20 6f | 6e 6c 79 20 6f 6e 20 74 | drawn o|nly on t|
|00005b70| 68 65 20 4c 61 73 65 72 | 57 72 69 74 65 72 2e 20 |he Laser|Writer. |
|00005b80| 53 65 74 74 69 6e 67 20 | 74 68 65 20 43 6c 69 70 |Setting |the Clip|
|00005b90| 52 65 63 74 20 74 6f 20 | 7a 65 72 6f 20 74 65 6c |Rect to |zero tel|
|00005ba0| 6c 73 20 74 68 65 20 49 | 6d 61 67 65 57 72 69 74 |ls the I|mageWrit|
|00005bb0| 65 72 20 74 6f 20 69 67 | 6e 6f 72 65 20 61 6c 6c |er to ig|nore all|
|00005bc0| 20 51 75 69 63 6b 44 72 | 61 77 20 63 61 6c 6c 73 | QuickDr|aw calls|
|00005bd0| 20 75 6e 74 69 6c 20 74 | 68 65 20 43 6c 69 70 52 | until t|he ClipR|
|00005be0| 65 63 74 20 69 73 20 72 | 65 73 65 74 20 74 6f 20 |ect is r|eset to |
|00005bf0| 73 6f 6d 65 74 68 69 6e | 67 20 d2 72 65 61 6c d3 |somethin|g .real.|
|00005c00| 20 28 61 63 74 75 61 6c | 6c 79 2c 20 61 20 7a 65 | (actual|ly, a ze|
|00005c10| 72 6f 20 43 6c 69 70 52 | 65 63 74 20 70 72 65 76 |ro ClipR|ect prev|
|00005c20| 65 6e 74 73 20 51 75 69 | 63 6b 44 72 61 77 20 66 |ents Qui|ckDraw f|
|00005c30| 72 6f 6d 20 64 72 61 77 | 69 6e 67 20 61 6e 79 74 |rom draw|ing anyt|
|00005c40| 68 69 6e 67 29 2e 20 41 | 66 74 65 72 20 77 65 20 |hing). A|fter we |
|00005c50| 68 61 76 65 20 63 6f 6d | 70 6c 65 74 65 64 20 64 |have com|pleted d|
|00005c60| 72 61 77 69 6e 67 20 74 | 68 65 20 72 6f 74 61 74 |rawing t|he rotat|
|00005c70| 65 64 20 74 65 78 74 2c | 20 77 65 20 72 65 73 65 |ed text,| we rese|
|00005c80| 74 20 74 68 65 20 43 6c | 69 70 52 65 63 74 20 74 |t the Cl|ipRect t|
|00005c90| 6f 20 74 68 65 20 64 69 | 6d 65 6e 73 69 6f 6e 73 |o the di|mensions|
|00005ca0| 20 6f 66 20 72 50 61 67 | 65 20 28 74 68 61 74 20 | of rPag|e (that |
|00005cb0| 69 73 2c 20 72 50 61 67 | 65 20 69 73 20 74 68 65 |is, rPag|e is the|
|00005cc0| 20 69 6d 61 67 65 2d 61 | 62 6c 65 20 61 72 65 61 | image-a|ble area|
|00005cd0| 20 6f 66 20 74 68 65 20 | 63 75 72 72 65 6e 74 6c | of the |currentl|
|00005ce0| 79 20 73 65 6c 65 63 74 | 65 64 20 70 72 69 6e 74 |y select|ed print|
|00005cf0| 65 72 d1 73 65 65 20 49 | 6e 73 69 64 65 20 4d 61 |er.see I|nside Ma|
|00005d00| 63 69 6e 74 6f 73 68 2c | 20 56 6f 6c 75 6d 65 20 |cintosh,| Volume |
|00005d10| 49 49 2c 20 70 61 67 65 | 20 31 35 30 29 2e 20 54 |II, page| 150). T|
|00005d20| 68 69 73 20 77 69 6c 6c | 20 61 6c 6c 6f 77 20 61 |his will| allow a|
|00005d30| 6c 6c 20 6f 66 20 79 6f | 75 72 20 6e 6f 72 6d 61 |ll of yo|ur norma|
|00005d40| 6c 20 64 72 61 77 69 6e | 67 20 74 6f 20 63 6f 6e |l drawin|g to con|
|00005d50| 74 69 6e 75 65 20 6f 6e | 20 74 68 65 20 49 6d 61 |tinue on| the Ima|
|00005d60| 67 65 57 72 69 74 65 72 | 20 61 6e 64 20 4c 61 73 |geWriter| and Las|
|00005d70| 65 72 57 72 69 74 65 72 | 2e 20 49 66 20 79 6f 75 |erWriter|. If you|
|00005d80| 20 64 69 64 20 6e 6f 74 | 20 72 65 73 65 74 20 74 | did not| reset t|
|00005d90| 68 65 20 43 6c 69 70 52 | 65 63 74 20 61 66 74 65 |he ClipR|ect afte|
|00005da0| 72 20 74 68 65 20 54 65 | 78 74 45 6e 64 20 63 61 |r the Te|xtEnd ca|
|00005db0| 6c 6c 2c 20 6e 6f 74 68 | 69 6e 67 20 77 6f 75 6c |ll, noth|ing woul|
|00005dc0| 64 20 62 65 20 64 72 61 | 77 6e 20 6f 6e 20 74 68 |d be dra|wn on th|
|00005dd0| 65 20 49 6d 61 67 65 57 | 72 69 74 65 72 20 6f 72 |e ImageW|riter or|
|00005de0| 20 4c 61 73 65 72 57 72 | 69 74 65 72 2e 0d 55 73 | LaserWr|iter..Us|
|00005df0| 69 6e 67 20 64 69 74 68 | 65 72 65 64 20 64 72 61 |ing dith|ered dra|
|00005e00| 77 69 6e 67 20 6d 6f 64 | 65 20 77 69 74 68 20 51 |wing mod|e with Q|
|00005e10| 75 69 63 6b 44 72 61 77 | 0d 57 72 69 74 74 65 6e |uickDraw|.Written|
|00005e20| 3a 09 31 31 2f 32 38 2f | 39 30 0d 4c 61 73 74 20 |:.11/28/|90.Last |
|00005e30| 72 65 76 69 65 77 65 64 | 3a 09 31 32 2f 31 39 2f |reviewed|:.12/19/|
|00005e40| 39 30 0d 57 68 65 6e 20 | 49 20 64 72 61 77 20 61 |90.When |I draw a|
|00005e50| 20 33 32 2d 62 69 74 20 | 4d 61 63 69 6e 74 6f 73 | 32-bit |Macintos|
|00005e60| 68 20 50 49 43 54 20 69 | 6d 61 67 65 20 66 72 6f |h PICT i|mage fro|
|00005e70| 6d 20 61 20 66 69 6c 65 | 20 74 6f 20 61 6e 20 38 |m a file| to an 8|
|00005e80| 2d 62 69 74 20 70 6f 72 | 74 20 76 69 61 20 61 6e |-bit por|t via an|
|00005e90| 20 6f 66 66 73 63 72 65 | 65 6e 20 47 57 6f 72 6c | offscre|en GWorl|
|00005ea0| 64 2c 20 49 20 75 73 65 | 20 64 69 74 68 65 72 20 |d, I use| dither |
|00005eb0| 6d 6f 64 65 20 69 6e 20 | 74 68 65 20 43 6f 70 79 |mode in |the Copy|
|00005ec0| 42 69 74 73 20 63 61 6c | 6c 20 61 6e 64 20 74 68 |Bits cal|l and th|
|00005ed0| 65 20 72 65 73 75 6c 74 | 73 20 61 72 65 20 71 75 |e result|s are qu|
|00005ee0| 69 74 65 20 69 6d 70 72 | 65 73 73 69 76 65 2e 20 |ite impr|essive. |
|00005ef0| 49 66 20 74 68 65 72 65 | 20 69 73 20 6e 6f 74 20 |If there| is not |
|00005f00| 65 6e 6f 75 67 68 20 6d | 65 6d 6f 72 79 20 74 6f |enough m|emory to|
|00005f10| 20 61 6c 6c 6f 63 61 74 | 65 20 74 68 65 20 47 57 | allocat|e the GW|
|00005f20| 6f 72 6c 64 2c 20 49 20 | 64 72 61 77 20 74 68 65 |orld, I |draw the|
|00005f30| 20 69 6d 61 67 65 20 64 | 69 72 65 63 74 6c 79 20 | image d|irectly |
|00005f40| 74 6f 20 74 68 65 20 70 | 6f 72 74 2e 20 42 75 74 |to the p|ort. But|
|00005f50| 20 73 69 6e 63 65 20 74 | 68 65 72 65 20 64 6f 65 | since t|here doe|
|00005f60| 73 20 6e 6f 74 20 73 65 | 65 6d 20 74 6f 20 62 65 |s not se|em to be|
|00005f70| 20 61 6e 79 20 77 61 79 | 20 74 6f 20 74 65 6c 6c | any way| to tell|
|00005f80| 20 51 75 69 63 6b 44 72 | 61 77 20 74 6f 20 75 73 | QuickDr|aw to us|
|00005f90| 65 20 64 69 74 68 65 72 | 65 64 20 64 72 61 77 69 |e dither|ed drawi|
|00005fa0| 6e 67 20 6d 6f 64 65 2c | 20 74 68 65 20 69 6d 61 |ng mode,| the ima|
|00005fb0| 67 65 20 6c 6f 6f 6b 73 | 20 68 6f 72 72 69 62 6c |ge looks| horribl|
|00005fc0| 65 2e 0d 44 6f 20 79 6f | 75 20 68 61 76 65 20 61 |e..Do yo|u have a|
|00005fd0| 6e 79 20 73 75 67 67 65 | 73 74 69 6f 6e 73 3f 20 |ny sugge|stions? |
|00005fe0| 49 20 68 61 76 65 20 69 | 6e 73 74 61 6c 6c 65 64 |I have i|nstalled|
|00005ff0| 20 62 6f 74 74 6c 65 6e | 65 63 6b 20 70 72 6f 63 | bottlen|eck proc|
|00006000| 73 20 74 6f 20 61 6c 6c | 6f 77 20 44 72 61 77 50 |s to all|ow DrawP|
|00006010| 69 63 74 75 72 65 20 74 | 6f 20 67 65 74 20 69 74 |icture t|o get it|
|00006020| 73 20 64 61 74 61 20 66 | 72 6f 6d 20 74 68 65 20 |s data f|rom the |
|00006030| 66 69 6c 65 20 69 6e 73 | 74 65 61 64 20 6f 66 20 |file ins|tead of |
|00006040| 74 68 65 20 68 61 6e 64 | 6c 65 20 69 6e 20 6d 65 |the hand|le in me|
|00006050| 6d 6f 72 79 2e 20 49 73 | 20 74 68 65 72 65 20 61 |mory. Is| there a|
|00006060| 20 77 61 79 2c 20 77 68 | 69 6c 65 20 69 6e 20 74 | way, wh|ile in t|
|00006070| 68 65 20 62 6f 74 74 6c | 65 6e 65 63 6b 73 2c 20 |he bottl|enecks, |
|00006080| 74 6f 20 66 69 6e 64 20 | 74 68 65 20 43 6f 70 79 |to find |the Copy|
|00006090| 42 69 74 73 20 63 61 6c | 6c 20 74 68 61 74 20 63 |Bits cal|l that c|
|000060a0| 6f 6d 65 73 20 66 72 6f | 6d 20 74 68 65 20 70 69 |omes fro|m the pi|
|000060b0| 63 74 75 72 65 20 61 6e | 64 20 66 6f 72 63 65 20 |cture an|d force |
|000060c0| 69 74 20 74 6f 20 75 73 | 65 20 64 69 74 68 65 72 |it to us|e dither|
|000060d0| 65 64 20 6d 6f 64 65 20 | 69 6e 73 74 65 61 64 20 |ed mode |instead |
|000060e0| 6f 66 20 73 6f 75 72 63 | 65 20 6d 6f 64 65 3f 20 |of sourc|e mode? |
|000060f0| 49 20 64 6f 6e d5 74 20 | 77 61 6e 74 20 74 6f 20 |I don.t |want to |
|00006100| 74 72 79 20 61 6e 64 20 | 70 61 72 73 65 20 74 68 |try and |parse th|
|00006110| 65 20 50 49 43 54 20 6d | 79 73 65 6c 66 2c 20 62 |e PICT m|yself, b|
|00006120| 75 74 20 49 20 74 68 6f | 75 67 68 74 20 74 68 61 |ut I tho|ught tha|
|00006130| 74 20 6d 61 79 62 65 20 | 61 20 51 75 69 63 6b 44 |t maybe |a QuickD|
|00006140| 72 61 77 20 67 6c 6f 62 | 61 6c 20 63 6f 75 6c 64 |raw glob|al could|
|00006150| 20 62 65 20 6d 6f 64 69 | 66 69 65 64 20 69 6e 20 | be modi|fied in |
|00006160| 6d 79 20 53 74 64 42 69 | 74 73 20 70 72 6f 63 20 |my StdBi|ts proc |
|00006170| 74 6f 20 66 6f 72 63 65 | 20 64 69 74 68 65 72 65 |to force| dithere|
|00006180| 64 20 64 72 61 77 69 6e | 67 20 66 6f 72 20 74 68 |d drawin|g for th|
|00006190| 61 74 20 6f 70 65 72 61 | 74 69 6f 6e 20 6f 6e 6c |at opera|tion onl|
|000061a0| 79 3f 0d 5f 5f 5f 0d 59 | 6f 75 20 63 61 6e 20 69 |y?.___.Y|ou can i|
|000061b0| 6e 73 74 61 6c 6c 20 61 | 20 53 74 64 42 69 74 73 |nstall a| StdBits|
|000061c0| 20 6f 72 20 62 69 74 73 | 50 72 6f 63 20 62 6f 74 | or bits|Proc bot|
|000061d0| 74 6c 65 6e 65 63 6b 20 | 70 72 6f 63 65 64 75 72 |tleneck |procedur|
|000061e0| 65 20 74 6f 20 67 65 74 | 20 61 6c 6c 20 74 68 65 |e to get| all the|
|000061f0| 20 43 6f 70 79 42 69 74 | 73 20 63 61 6c 6c 73 20 | CopyBit|s calls |
|00006200| 77 68 65 6e 20 74 68 65 | 20 70 69 63 74 75 72 65 |when the| picture|
|00006210| 20 69 73 20 62 65 69 6e | 67 20 70 6c 61 79 65 64 | is bein|g played|
|00006220| 20 62 61 63 6b 2e 20 4f | 6e 65 20 6f 66 20 74 68 | back. O|ne of th|
|00006230| 65 20 70 61 72 61 6d 65 | 74 65 72 73 20 74 6f 20 |e parame|ters to |
|00006240| 74 68 65 20 53 74 64 42 | 69 74 73 20 63 61 6c 6c |the StdB|its call|
|00006250| 20 69 73 20 74 68 65 20 | 6d 6f 64 65 2e 20 59 6f | is the |mode. Yo|
|00006260| 75 20 63 61 6e 20 69 6e | 73 74 61 6c 6c 20 61 20 |u can in|stall a |
|00006270| 70 72 6f 63 65 64 75 72 | 65 20 74 68 61 74 20 73 |procedur|e that s|
|00006280| 61 76 65 73 20 74 68 65 | 20 63 75 72 72 65 6e 74 |aves the| current|
|00006290| 20 6d 6f 64 65 2c 20 61 | 6e 64 20 74 68 65 6e 20 | mode, a|nd then |
|000062a0| 70 61 73 73 65 73 20 64 | 69 74 68 65 72 4d 6f 64 |passes d|itherMod|
|000062b0| 65 20 74 6f 20 74 68 65 | 20 6f 72 69 67 69 6e 61 |e to the| origina|
|000062c0| 6c 20 53 74 64 42 69 74 | 73 20 70 72 6f 63 2e 20 |l StdBit|s proc. |
|000062d0| 54 68 69 73 20 69 73 20 | 61 6c 6c 20 79 6f 75 20 |This is |all you |
|000062e0| 73 68 6f 75 6c 64 20 6e | 65 65 64 20 74 6f 20 64 |should n|eed to d|
|000062f0| 6f 2e 20 49 74 d5 73 20 | 62 65 65 6e 20 64 6f 6e |o. It.s |been don|
|00006300| 65 20 68 65 72 65 20 73 | 6f 20 77 65 20 6b 6e 6f |e here s|o we kno|
|00006310| 77 20 69 74 20 77 6f 72 | 6b 73 2c 20 6f 6e 6c 79 |w it wor|ks, only|
|00006320| 20 6e 6f 74 20 69 6e 20 | 61 6e 79 20 66 6f 72 6d | not in |any form|
|00006330| 20 74 68 61 74 20 63 61 | 6e 20 62 65 20 73 65 6e | that ca|n be sen|
|00006340| 74 20 74 6f 20 79 6f 75 | 20 61 73 20 73 61 6d 70 |t to you| as samp|
|00006350| 6c 65 20 63 6f 64 65 20 | 61 74 20 74 68 69 73 20 |le code |at this |
|00006360| 74 69 6d 65 2e 0d 43 6f | 64 65 20 66 6f 72 20 72 |time..Co|de for r|
|00006370| 65 76 65 72 73 69 6e 67 | 20 4d 61 63 69 6e 74 6f |eversing| Macinto|
|00006380| 73 68 20 50 49 43 54 20 | 69 6d 61 67 65 73 0d 57 |sh PICT |images.W|
|00006390| 72 69 74 74 65 6e 3a 09 | 33 2f 34 2f 39 31 0d 4c |ritten:.|3/4/91.L|
|000063a0| 61 73 74 20 72 65 76 69 | 65 77 65 64 3a 09 38 2f |ast revi|ewed:.8/|
|000063b0| 33 30 2f 39 31 0d 49 73 | 20 74 68 65 72 65 20 61 |30/91.Is| there a|
|000063c0| 20 73 69 6d 70 6c 65 20 | 77 61 79 20 74 6f 20 70 | simple |way to p|
|000063d0| 75 74 20 50 49 43 54 20 | 69 6d 61 67 65 73 20 75 |ut PICT |images u|
|000063e0| 70 20 69 6e 20 6d 69 72 | 72 6f 72 20 69 6d 61 67 |p in mir|ror imag|
|000063f0| 65 20 66 6f 72 6d 61 74 | 2c 20 6f 72 20 69 73 20 |e format|, or is |
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.